How to draw vertical lines on a graph?

Hi all,

Just a very general question. If I have a curve, and there are particular x values along which I would like to draw a trace or line, how can I do that in Igor?
Take for example a curve such as a parabola. I would just like to know what I would have to do in Igor in order to have a vertical line run through a particular point
on the curve say y = 4 which happens at x = 2 (in other words how would I draw a x = a (where 'a' is a constant) line on igor?)

A very quick (but not very elegant) method is to simply make a single data point at (x, max_y_range) and append it to the graph, using sticks to zero or a similiar visual function to get the line.
igorman wrote:
Hi all,

Just a very general question. If I have a curve, and there are particular x values along which I would like to draw a trace or line, how can I do that in Igor?
Take for example a curve such as a parabola. I would just like to know what I would have to do in Igor in order to have a vertical line run through a particular point
on the curve say y = 4 which happens at x = 2 (in other words how would I draw a x = a (where 'a' is a constant) line on igor?)


Use the Drawiing Tools, and choose Left axis for the Y coordinate system, and Bottom axis for the X coordinate system.

For more on this, enter this command in Igor's command line:
DisplayHelpTopic "Drawing Coordinate Systems"


--Jim Prouty
Software Engineer, WaveMetrics, Inc.