Reputation: 16841
Is it possible to "get" the x/y (or other) axis plot range values?
The reason I am trying to do this is that I want to plot a vertical line on my graph at the position of an asymptotic point... Perhaps there is an alternative or better way of doing this than drawing an arrow (with no head) on the graph?
Upvotes: 2
Views: 1268
Reputation: 16841
Thanks to @Christoph (again) I have been able to do the following:
#Plot asymptote
set arrow from b,graph 0 to b,graph 1 lt 2 lw 2 lc rgb "green" nohead
This code does the following:
b
, y=graph 0 (minimum of graph [y] axis)b
, y=graph 1 (maximum of graph [y] axis)set termoption dashed
to enable dashed lines, consult documentation)Upvotes: 2