[matplotlib-devel] adding second formatter/locater set to axes objects
A question I have seen go by twice on SO is how to add a tick marks to the top/right of a plot which are re-scaled version of the values on the bottom/lefit axis (ex km/h on the left and mph on the right). My understanding of the best way to do this is to use twin* and then keep the range of the two axes in sync by hand. I am proposing adding at set of alternate formatters/locators to the `axis` objects which if they exist are used for the top/right labels. Before I dive too deep into this, I want to check that a) there isn't a better way to do this that I do not know and b) if this sounds like a reasonable approach. Tom -- Thomas Caswell [email protected] -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ Matplotlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] scroll wheel zoom on axes
A while ago I wrote a code snippet to generate and connect a function to enable scroll wheel zooming of axes. (https://gist.github.com/tacaswell/3144287) Is this worth cleaning up and getting into the repository? If so, where should it go? Tom -- Thomas Caswell [email protected] -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ Matplotlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] scroll wheel zoom on axes
Unfortunately, the panning/zooming code is strewn about through the backends and in the toolbar, when it really should be on the axes itself. #1849 is underway to address that (and will probably become a MEP before a final implementation is made), and I'd say adding scrollwheel zooming to that plan would be the best long term course of action. Not that we couldn't take a transitional step if an obvious one exists... Mike On 05/23/2013 08:35 PM, Thomas Caswell wrote: > A while ago I wrote a code snippet to generate and connect a function > to enable scroll wheel zooming of axes. > (https://gist.github.com/tacaswell/3144287) > > Is this worth cleaning up and getting into the repository? If so, > where should it go? > > Tom > > > -- > Thomas Caswell > [email protected] > > -- > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may > ___ > Matplotlib-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ Matplotlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
