⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 textcolor.dem

📁 智能画图软件
💻 DEM
字号:
## $Id: textcolor.dem,v 1.2 2003/10/17 15:02:21 mikulik Exp $## Textcolor in 2D#reset#set title "Textcolor options in 2D plot (notice this title in color)" tc lt 1set xrange [-2:2]set yrange [-2:2]#set label 11 "label with textcolor lt 1"  at -1.5, 1.8  front nopoint tc lt 1set label 10 "label with tc default" at -1.5, 1.6  front nopoint tc defset label 12 "label with tc lt 2"    at -1.5, 1.4  front nopoint tc lt 2set label 13 "label with tc lt 3"    at -1.5, 1.2  front nopoint tc lt 3#set xlabel 'color of xlabel should be lt 4' tc lt 4set ylabel 'color of ylabel should still be black'#plot sin(x)#pause -1 "Hit return to continue"##  Textcolor in 3D (req. pm3d)#set title "Textcolor options in splot (notice this title in color)" tc lt 1set samples 20; set isosamples 20 set autoscaleset key boxset pm3d at sset colorbox horiz user origin .1,.12 size .8,.015set view 58, 64, 0.83set xrange [-10:10]set yrange [-10:10]set zrange [-10:10]## Test labels#set label 1 "textcolor palette z" at 12,-10,-10  nopoint  tc pal zset label 3 "tc pal z" at 12, -6, -6  nopoint  tc pal zset label 4 "tc pal z" at 12, -3, -3  nopoint  tc pal zset label 5 "tc pal z" at 12, -0,  0  nopoint  tc pal zset label 6 "tc pal z" at 12,  3,  3  nopoint  tc pal zset label 7 "tc pal z" at 12,  6,  6  nopoint  tc pal zset label 8 "tc pal z" at 12,  9,  9  nopoint  tc pal z#set xlabel 'xlabel should be lt 4' tc lt 4set cblabel 'color cblabel' textcolor lt 3#set label 10 "textcolor lt 1" at -10,-8,24  front nopoint tc lt 1set label 11 "tc lt 2"    at -10,-8,21  front nopoint tc lt 2set label 12 "tc lt 3"    at -10,-8,18  front nopoint tc lt 3set label 13 "textcolor default" at -10,-8,15  front nopoint tc defset label 14 "textcolor cb 5"   at -10,-8,12  front nopoint tc pal cb 5set label 15 "tc cb 0"    at -10,-8,9  front nopoint tc pal cb 0set label 16 "tc cb -5"    at -10,-8,6  front nopoint tc pal cb -5set label 17 "textcolor frac .75" at -10,-8,3  nopoint tc pal frac .75set label 18 "tc frac .25" at -10,-8,0  nopoint tc pal frac .25#set ylabel 'ylabel should still be black'#set zlabel 'zlabel should have yet another color' tc lt 2#splot y#pause -1 "Hit return to continue"#reset

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -