Thanks for that, I already have a button to enable picking mode and the original post shows that I have already tried the copy background/restore/blit, however I must have been doing something wrong. Pehaps you can point out what the issue was ro where I was going wrong
John Hunter-4 wrote: > > On Wed, May 28, 2008 at 7:10 AM, New2Python <[EMAIL PROTECTED]> > wrote: > >> One issue that I find now is that the removed marker is not redrawn as >> removed, in other words, all the original markers remain drawn whether or >> not the datapoints exist in the array. How can I remove the marker I >> don't >> want anymore withought doing a clf() call because I can have over 300,000 >> datapoints and the redraw will take ages > > You will need to do some extra work here. I would have a "picking > mode" which is enabled by a key-stroke or button press, and when the > mode is enabled, you can copy the background using the > copy_background/restore region/blit techniques discussed at > http://www.scipy.org/Cookbook/Matplotlib/Animations. Then you can > mark your vertices and just draw the vertex marker line over the > background. Alternatively, you can use the clipped line approach I > pointed you to in my prior post to only plot the vertices in the > viewport. You will have to do a little bookkeeping to translate the > marked vertices in the viewport to the ones in the original dataset. > > Unfortunately, I don't have time to write the complete example right > now... > > JDH > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- View this message in context: http://www.nabble.com/Plotting-single-marker-point-at-zoomed-level-tp17470649p17550943.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users