1# 2# Textcolor in 2D 3# 4reset 5# 6set title "Textcolor options in 2D plot (notice this title in color)" tc lt 1 7set xrange [-2:2] 8set yrange [-2:2] 9# 10set label 11 "label with textcolor lt 1" at -1.5, 1.8 front nopoint tc lt 1 11set label 10 "label with tc default" at -1.5, 1.6 front nopoint tc def 12set label 12 "label with tc lt 2" at -1.5, 1.4 front nopoint tc lt 2 13set label 13 "label with tc lt 3" at -1.5, 1.2 front nopoint tc lt 3 14# 15set xlabel 'color of xlabel should be lt 4' tc lt 4 16set ylabel 'color of ylabel should still be black' 17# 18plot sin(x) 19# 20pause -1 "Hit return to continue" 21# 22# Textcolor in 3D (req. pm3d) 23# 24set title "Textcolor options in splot (notice this title in color)" tc lt 1 25set samples 20; set isosamples 20 26set autoscale 27set key box 28set pm3d at s 29set colorbox horiz user origin .1,.12 size .8,.015 30set view 58, 64, 0.83 31set xrange [-10:10] 32set yrange [-10:10] 33set zrange [-10:10] 34# 35# Test labels 36# 37set label 1 "textcolor palette z" at 12,-10,-10 nopoint tc pal z 38set label 3 "tc pal z" at 12, -6, -6 nopoint tc pal z 39set label 4 "tc pal z" at 12, -3, -3 nopoint tc pal z 40set label 5 "tc pal z" at 12, -0, 0 nopoint tc pal z 41set label 6 "tc pal z" at 12, 3, 3 nopoint tc pal z 42set label 7 "tc pal z" at 12, 6, 6 nopoint tc pal z 43set label 8 "tc pal z" at 12, 9, 9 nopoint tc pal z 44# 45set xlabel 'xlabel should be lt 4' tc lt 4 46set cblabel 'color cblabel' textcolor lt 3 47# 48set label 10 "textcolor lt 1" at -10,-8,24 front nopoint tc lt 1 49set label 11 "tc lt 2" at -10,-8,21 front nopoint tc lt 2 50set label 12 "tc lt 3" at -10,-8,18 front nopoint tc lt 3 51set label 13 "textcolor default" at -10,-8,15 front nopoint tc def 52set label 14 "textcolor cb 5" at -10,-8,12 front nopoint tc pal cb 5 53set label 15 "tc cb 0" at -10,-8,9 front nopoint tc pal cb 0 54set label 16 "tc cb -5" at -10,-8,6 front nopoint tc pal cb -5 55set label 17 "textcolor frac .75" at -10,-8,3 nopoint tc pal frac .75 56set label 18 "tc frac .25" at -10,-8,0 nopoint tc pal frac .25 57# 58set ylabel 'ylabel should still be black' 59#set zlabel 'zlabel should have yet another color' tc lt 2 60# 61splot y 62# 63pause -1 "Hit return to continue" 64# 65 66reset 67 68