File: textbox.dem

package info (click to toggle)
gnuplot 6.0.2%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,940 kB
  • sloc: ansic: 95,319; cpp: 7,590; makefile: 2,470; javascript: 2,328; sh: 1,531; lisp: 664; perl: 304; pascal: 191; tcl: 88; python: 46
file content (26 lines) | stat: -rw-r--r-- 679 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
set grid
unset xtics 
set xrange [ -0.50 : 12.00 ]
set yrange [ 30.00 : 110.0 ]
unset ylabel
set bmargin  3
set border back
unset key


set style textbox 1 opaque border lc "blue"
set style textbox 2 opaque margins 6,1.5 fc "grey75" border lc black

set multiplot layout 1,2
set title "textboxes with blue border"
plot 'table.dat' using 0:2 title column with lines lw 3,  \
     ''          using 0:2:2 with labels center boxed bs 1 notitle column

set title "larger textboxes with grey fill"
plot 'table.dat' using 0:2 title column with lines lw 3,  \
     ''          using 0:2:2 with labels center boxed bs 2 notitle column

unset multiplot

pause -1 "<cr> to continue"
reset