Re: [Matplotlib-users] zoom a plot

2014-09-15 Thread Paul Hobson
Yes. They are on the same webpage to which I linked earlier. http://matplotlib.org/search.html?q=codex+webagg&check_keywords=yes&area=default On Mon, Sep 15, 2014 at 9:28 AM, Tom Young wrote: > Thank you for your quick answer. I understand the performance issue you > mentioned. For now it is on

Re: [Matplotlib-users] zoom a plot

2014-09-15 Thread Tom Young
Thank you for your quick answer. I understand the performance issue you mentioned. For now it is only a proof of concept. I just figured out how to do it in theory by using figure.subplot.left|right|bottom|top plus a few other settings. I'll certainly look at the webagg backend. Are there any exa

Re: [Matplotlib-users] zoom a plot

2014-09-15 Thread Paul Hobson
I don't think you'll get acceptable performance out of that workflow. I recommend looking into the webagg backend: http://matplotlib.org/users/whats_new.html#webagg-backend On Mon, Sep 15, 2014 at 8:38 AM, Xiaobo Yang wrote: > Hi, I use matplotlib to create a png file, then display it in a web

[Matplotlib-users] zoom a plot

2014-09-15 Thread Xiaobo Yang
Hi, I use matplotlib to create a png file, then display it in a web browser. All works fine. Now I want to zoom the plot. What I can think of is: 1) Get coordinates (x1, y1), (x2, y2) of the image when user makes an area selection on the image; 2) Convert (x1, y1), (x2, y2) to the real values mat