How do I draw a set of vertical lines in gnuplot?

后端 未结 5 528
眼角桃花
眼角桃花 2020-12-08 19:28

E.g. if I have a graph and want to add vertical lines at every 10 units along the X-axis.

5条回答
  •  悲&欢浪女
    2020-12-08 19:42

    From the Gnuplot documentation. To draw a vertical line from the bottom to the top of the graph at x=3, use:

    set arrow from 3, graph 0 to 3, graph 1 nohead

提交回复
热议问题