2 # $Id: textcolor.dem,v 1.2 2003/10/17 15:02:21 mikulik Exp $
8 set title "Textcolor options in 2D plot (notice this title in color)" tc lt 1
12 set label 11 "label with textcolor lt 1" at -1.5, 1.8 front nopoint tc lt 1
13 set label 10 "label with tc default" at -1.5, 1.6 front nopoint tc def
14 set label 12 "label with tc lt 2" at -1.5, 1.4 front nopoint tc lt 2
15 set label 13 "label with tc lt 3" at -1.5, 1.2 front nopoint tc lt 3
17 set xlabel 'color of xlabel should be lt 4' tc lt 4
18 set ylabel 'color of ylabel should still be black'
22 pause -1 "Hit return to continue"
24 # Textcolor in 3D (req. pm3d)
26 set title "Textcolor options in splot (notice this title in color)" tc lt 1
27 set samples 20; set isosamples 20
31 set colorbox horiz user origin .1,.12 size .8,.015
39 set label 1 "textcolor palette z" at 12,-10,-10 nopoint tc pal z
40 set label 3 "tc pal z" at 12, -6, -6 nopoint tc pal z
41 set label 4 "tc pal z" at 12, -3, -3 nopoint tc pal z
42 set label 5 "tc pal z" at 12, -0, 0 nopoint tc pal z
43 set label 6 "tc pal z" at 12, 3, 3 nopoint tc pal z
44 set label 7 "tc pal z" at 12, 6, 6 nopoint tc pal z
45 set label 8 "tc pal z" at 12, 9, 9 nopoint tc pal z
47 set xlabel 'xlabel should be lt 4' tc lt 4
48 set cblabel 'color cblabel' textcolor lt 3
50 set label 10 "textcolor lt 1" at -10,-8,24 front nopoint tc lt 1
51 set label 11 "tc lt 2" at -10,-8,21 front nopoint tc lt 2
52 set label 12 "tc lt 3" at -10,-8,18 front nopoint tc lt 3
53 set label 13 "textcolor default" at -10,-8,15 front nopoint tc def
54 set label 14 "textcolor cb 5" at -10,-8,12 front nopoint tc pal cb 5
55 set label 15 "tc cb 0" at -10,-8,9 front nopoint tc pal cb 0
56 set label 16 "tc cb -5" at -10,-8,6 front nopoint tc pal cb -5
57 set label 17 "textcolor frac .75" at -10,-8,3 nopoint tc pal frac .75
58 set label 18 "tc frac .25" at -10,-8,0 nopoint tc pal frac .25
60 set ylabel 'ylabel should still be black'
61 #set zlabel 'zlabel should have yet another color' tc lt 2
65 pause -1 "Hit return to continue"