numo-gnuplot icon indicating copy to clipboard operation
numo-gnuplot copied to clipboard

Can I use dt ?

Open daddygongon opened this issue 7 years ago • 1 comments

I want to write a dashed vertical line on the plot, then

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?

daddygongon avatar Nov 25 '18 09:11 daddygongon

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 dt option. I do not know which terminal does not support dashed line. Gnuplot ver 4 requires dashed option for set terminal.

masa16 avatar Nov 26 '18 08:11 masa16