Back to demo index

gnuplot demo script: textbox.dem

autogenerated by webify.pl on Fri May 24 14:07:23 2024
gnuplot version gnuplot 6.0 patchlevel 1
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


Click here for minimal script to generate this plot