File: textbox.dem

package info (click to toggle)
gnuplot 5.4.1%2Bdfsg1-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,316 kB
  • sloc: ansic: 85,877; cpp: 7,440; makefile: 2,548; javascript: 2,322; sh: 1,542; lisp: 667; perl: 304; pascal: 191; tcl: 88; python: 46
file content (25 lines) | stat: -rw-r--r-- 663 bytes parent folder | download
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
set grid
unset xtics 
set xrange [ -0.50 : 12.00 ]
set yrange [ 30.00 : 110.0 ]
unset ylabel
set bmargin  3
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