Plot vertical lines on plots

  • Follow


Hi all,

I wish to plot vertical lines at specific points so that they stand out.

My plot call is as follows:
plot( X, zeros(size(X)),'o', x, y, m, zeros(size(m)),'*'), axis tight;

where x,y etc are my data and 'm' is what is computed.  Is there a nice way that I can simply just plot vertical lines at the 'm' data points?

Many thanks
1
Reply Susan 1/6/2011 10:42:05 AM

Use ylim to get the maximum extent in the y direction, and then use
the line() function.
0
Reply ImageAnalyst 1/6/2011 10:52:37 AM


1 Replies
1373 Views

(page loaded in 0.028 seconds)

Similiar Articles:













7/23/2012 6:42:34 AM


Reply: