[matplotlib-devel] Re: axis break
Hi everyone, Here is a script that creates a graph with a y-axis break. I went with a suggestion from Darren to use two axes and draw a break symbol in between them. The advantage of two axes is that you can pan them independently (plus it's probably easier). It shows roughly what I think it should look like, but I still have to improve a few things. So I have a few questions: - how can I hide the y-ticks in the middle of the graph (so hide only the ticks on the top y-axis of the lower axes while leaving the ones at the bottom there? - Can I somehow use a transAxes transform so the axis break symbol (now implemented as a LineCollection) stays in the same position when panning? Is a LineCollection the best choice? I tried with a Patch class, the problem is that the verts of this symbol are not connected. > > "Ralf" == Ralf Gommers <[EMAIL PROTECTED]> writes: > > Ralf> Hi everyone, Guess no-one has a trick yet to put in an axis > Ralf> break. My question is now, should this not be on the goals > Ralf> list at least? > > Ralf> If the developers think it is a good idea to implement this, > Ralf> I would like to have a go at it. As I'm not all that > Ralf> familiar with the matplotlib internals it would be great if > Ralf> someone has any ideas on how to go about it. > > This is not possible and is not easy. Currently, we don't even have > independent control of the lines that surround the white axes box (the > left and right y-axis lines and the upper and lower x-axis lines. It > is a long-standing wish to be able to control these independently of > the axes box, and this would be a good place for you to start. See > axis.py and axes.py. > > JDH Thanks, Ralf axisbreak.py Description: application/python
[matplotlib-devel] Qt4 Backend
Hello, I have ported the existing Qt(3) backend to Qt4. Qt4 is a substantial change from Qt3; the Python bindings for Qt have also changed substantially. Since the two versions of Qt are likely to coexist for at least a while, I think it makes sense to have a separate Qt4 backend. How do I go about contributing my Qt4 backend? I have three files: backend_qt4.py, backend_qt4agg.py and embedding in qt4.py. Best, Jim Amundson --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Qt4 Backend
Hi Jim, Would you send me your files? I'm interested in using Qt4 myself. Thanks, Darren On Wednesday 31 May 2006 11:51, James Amundson wrote: > Hello, > > I have ported the existing Qt(3) backend to Qt4. Qt4 is a substantial > change from Qt3; the Python bindings for Qt have also changed > substantially. Since the two versions of Qt are likely to coexist for at > least a while, I think it makes sense to have a separate Qt4 backend. > > How do I go about contributing my Qt4 backend? I have three files: > backend_qt4.py, backend_qt4agg.py and embedding in qt4.py. > > Best, > Jim Amundson > > > > --- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > ___ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- Darren S. Dale, Ph.D. Cornell High Energy Synchrotron Source Cornell University 200L Wilson Lab Rt. 366 & Pine Tree Road Ithaca, NY 14853 [EMAIL PROTECTED] office: (607) 255-9894 fax: (607) 255-9001 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel