Re: [Matplotlib-users] Plot marker based on other value

2010-03-17 Thread Gökhan Sever
On Wed, Mar 17, 2010 at 9:29 PM, Vincent Davis wrote: > I am doing a fairly basic plot plot(ydata) but would like to condition the > marker on another array, for example if I have ydata and markerdata then for > markerdata > 0 use use a '+' and for markerdata <0 use a '-' and for > markerdata = 0

[Matplotlib-users] Plot marker based on other value

2010-03-17 Thread Vincent Davis
I am doing a fairly basic plot plot(ydata) but would like to condition the marker on another array, for example if I have ydata and markerdata then for markerdata > 0 use use a '+' and for markerdata <0 use a '-' and for markerdata = 0 '.' How do I do this? *Vincent Davis 720-301-3003 * vinc.