[Matplotlib-users] [ANN] PyHPC2011: Python at SuperComputing 2011 in Seattle

2011-09-11 Thread Fernando Perez
Hi all, SC is the largest conference focused on high-performance computing, this year it will be held in Seattle: http://sc11.supercomputing.org/ and as part of the conference, a Python-focused workshop is being organized. The deadline for papers is coming up soon (Sept 19), so if you are inter

Re: [Matplotlib-users] 2 x-axes

2011-09-11 Thread Gökhan Sever
The master is here. JJ had showed me those multi axes tricks and he is back again with the plenty of changes to the axes_grid toolkit. The best thing to do is to make a new clone from the master repo and experiment. On Sun, Sep 11, 2011 at 1:37 PM, Neal Becker wrote: > Jae-Joon Lee wrote: > > >

Re: [Matplotlib-users] 2 x-axes

2011-09-11 Thread Neal Becker
Jae-Joon Lee wrote: > On Sun, Sep 11, 2011 at 10:16 PM, Neal Becker wrote: >> Yes, that's very helpful. Just one thing. How would I get a bit more bottom >> margin on the main figure to leave more room for the extra axis? >> >> I'm using this as an example. I experimented with plt.subplots_adj

[Matplotlib-users] Suggestion for annotation arrow clipping

2011-09-11 Thread Daniel Hyams
Mpl 1.0.0 The way Annotation.draw (in text.py) is implemented, if an annotation is created with an annotation point (x,y) and text located at (tx,ty) and then the you pan around on the graph such that (x,y) is no longer visible, the annotation suddenly disappears. I would suggest the following mo

Re: [Matplotlib-users] 2 x-axes

2011-09-11 Thread Jae-Joon Lee
On Sun, Sep 11, 2011 at 10:16 PM, Neal Becker wrote: > Yes, that's very helpful.  Just one thing.  How would I get a bit more bottom > margin on the main figure to leave more room for the extra axis? > > I'm using this as an example.  I experimented with plt.subplots_adjust, which > seems like it

Re: [Matplotlib-users] 2 x-axes

2011-09-11 Thread Jae-Joon Lee
Just in case, here is a version with "axes_grid1" toolkit. Note that axes_grid is kind of deprecated. Regards, -JJ import numpy as np import matplotlib.pyplot as plt import mpl_toolkits.axes_grid1 as axes_grid1 host = axes_grid1.host_subplot(111) hplt, = host.plot(np.random.rand(100)) from ma

Re: [Matplotlib-users] 2 x-axes

2011-09-11 Thread Neal Becker
Gökhan Sever wrote: > Hi, > > The code below should create a properly placed 2nd x-axis. You might need to > adjust the placement of the figure canvas to match into the window. > > import numpy as np > import matplotlib.pyplot as plt > from mpl_toolkits.axes_grid.parasite_axes import SubplotHost

Re: [Matplotlib-users] distribution plots

2011-09-11 Thread xyz
Sorry, this is the correct link http://pcp.oxfordjournals.org/content/52/2/274/F2.expansion.html (Fig2). Thank you in advance, On 09/11/2011 04:33 PM, Eric Firing wrote: > On 09/10/2011 07:57 PM, xyz wrote: >> Hello, >> How is it possible to paint this kind graph >> http://pcp.oxfordjournals.o