[EMAIL PROTECTED] schrieb: > Dear all, > > after looking around for a plotting library I found Matplotlib and I tried to > create a gray scale image in a wxpython application. Looks good! > > Now I have to find a line in the image with mainly vertical orientation. To > do this a crosshair cursor would be fine. In Pylab I found a SpanSelector > which also looks promising. > > Unfortunately I failed in adding a crosshair cursor or a SpanSelector into my > wxpython application figure. > > try
from matplotlib.widgets import Cursor help(Cursor) If this is not enough, I have once written a Crosshair very similar to SpanSelector - but I don't have it at hand at the moment. Gregor ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel