📄 fillstyle.dem
字号:
## $Id: fillstyle.dem,v 1.3 2003/10/17 15:02:21 mikulik Exp $## E A Merritt <merritt@u.washington.edu> 24-Sep-2002## Demo for revised fillstyle code selected by # ./configure --enable-filledboxes --enable-relative-boxwidth#resetset samples 25unset xticsunset yticsset yrange [0:120]set title "A demonstration of boxes with default properties"plot [-10:10] 100/(1.0+x*x) title 'distribution' with boxespause -1 "Now draw the boxes with solid fill"set title "A demonstration of boxes with style fill solid 1.0"set style fill solid 1.0replotpause -1 "Now draw the boxes with a black border"set title "A demonstration of boxes with style fill solid border -1"set style fill solid border -1replotpause -1 "Now make the boxes a little less wide"set title "Filled boxes of reduced width"set boxwidth 0.5 replotpause -1 "And now let's try a different fill density"set title "Filled boxes at 50% fill density"set style fill solid 0.25 borderreplotpause -1 "Now draw the boxes with no border"set title "A demonstration of boxes with style fill solid 0.25 noborder"set style fill solid 0.25 noborderreplotpause -1 "Or maybe a pattern fill, instead?"set title "A demonstration of boxes in mono with style fill pattern"set samples 11set boxwidth 0.5 set style fill pattern borderplot [-2.5:4.5] 100/(1.0+x*x) title 'pattern 0' with boxes lt -1, \ 80/(1.0+x*x) title 'pattern 1' with boxes lt -1, \ 40/(1.0+x*x) title 'pattern 2' with boxes lt -1, \ 20/(1.0+x*x) title 'pattern 3' with boxes lt -1pause -1 "Finished this demo"reset
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -