Tamas Papp
2014-08-05 16:24:58 UTC
Hi,
How can I add a (preferably dashed or dotted) vertical line to a 2d plot
at a given value? Eg add a vertial line at x=%pi to
plot2d([sin(x)],[x,0,2*%pi]);
I thought of using [discrete, ...] but then I don't know how to
calculate the starting and ending y in a simple way (obviously in the
example I could, but I am thinking about general plots).
Best,
Tamas
How can I add a (preferably dashed or dotted) vertical line to a 2d plot
at a given value? Eg add a vertial line at x=%pi to
plot2d([sin(x)],[x,0,2*%pi]);
I thought of using [discrete, ...] but then I don't know how to
calculate the starting and ending y in a simple way (obviously in the
example I could, but I am thinking about general plots).
Best,
Tamas