I want to write a dashed vertical line on the plot, then ``` ruby Numo.gnuplot do set arrow: "from 10.0 ,0.0 to 10.0,140.0 nohead dashtype (10, 5)", lc_rgb:"red" plot xx, yy, w: :l end ``` But I only got a plain red line. How do I set the dashtype appropriately from numo/gnuplot?
Activity
masa16 commentedon Nov 26, 2018
Drawing dashed line is a matter of Gnuplot version and terminal types.
See http://www.ss.scphys.kyoto-u.ac.jp/person/yonezawa/contents/program/gnuplot/dashtype.html
Gnuplot ver 5 seems support
dtoption. I do not know which terminal does not support dashed line.Gnuplot ver 4 requires
dashedoption forset terminal.