Re: [Matplotlib-users] a break in the y-axis

2011-01-24 Thread Paul Ivanov
Eric Firing, on 2011-01-22 17:49, wrote: Paul Ivanov, on 2011-01-22 18:28, wrote: Paul, Your example below is nice, and this question comes up quite often. If we don't already have a gallery example of this, you might want to add one. (Probably better to use deterministic fake data

[Matplotlib-users] Find the RMS from a PSD

2011-01-24 Thread E
Hello matplotlib users. I'm new to signal processing and I've read that RMS could be found from a PSD. I'm interested in as I would further like to know energy in a signal through it's frequencies. My problem is I don't find how to calculate the RMS from the PSD output. It seems it's a matter of

Re: [Matplotlib-users] a break in the y-axis

2011-01-24 Thread Eric Firing
On 01/23/2011 11:46 PM, Paul Ivanov wrote: [...] Done in r8935, see examples/pylab_examples/broken_axis.py Thank you. I documented the above, used deterministic fake data, as Eric suggested, and added the diagonal cut lines that usually accompany a broken axis. Here's the tail end of the

[Matplotlib-users] How to get a Mac OS X version of Tcl/Tk rather than X11 version.

2011-01-24 Thread Lou Pecora
I have an installation of Python 2.6.4 on my MacBook Pro (OS X 10.6) that by default uses X11 windows and dialogs rather than the Mac version of those GUI items. In my googling and exchanges on other support groups I've come down to the problem may be with the Tcl/Tk installation using the

[Matplotlib-users] X and Y label position in axes_grid1.AxesGrid/ImageGrid

2011-01-24 Thread Russell Hewett
Hi All, I can't get the x label on the top row of an ImageGrid to display if there is more than one row in the grid. I suspect that something is being clipped somewhere, but have no idea what to do to fix it. (Note, this also happens on the right edge of a ride-sided y axis label.) I have

Re: [Matplotlib-users] X and Y label position in axes_grid1.AxesGrid/ImageGrid

2011-01-24 Thread Paul Ivanov
Russell Hewett, on 2011-01-24 13:56, wrote: Hi All, I can't get the x label on the top row of an ImageGrid to display if there is more than one row in the grid. I suspect that something is being clipped somewhere, but have no idea what to do to fix it. (Note, this also happens on the

[Matplotlib-users] floating bar chart?

2011-01-24 Thread C M
I looked through the gallery, but didn't see this one and am not sure how to create it. It would be a floating bar chart (or floating column chart), like what is seen here: http://peltiertech.com/Excel/pix1/BloodSugarFloater.gif Thanks, Che

Re: [Matplotlib-users] labels in ax = Axes3D(fig) are not aligned in parallel

2011-01-24 Thread Paul Ivanov
Daniel Mader, on 2011-01-24 20:55, wrote: Hi, I have seen this ever since I use mpl_toolkits.mplot3d.Axes3D but it never bothered me too much until now: the labels are not aligned in paralled to the axes so that with longer labels or small figsizes, they run into the tick labels, besides

Re: [Matplotlib-users] floating bar chart?

2011-01-24 Thread Paul Ivanov
C M, on 2011-01-24 16:27, wrote: I looked through the gallery, but didn't see this one and am not sure how to create it. It would be a floating bar chart (or floating column chart), like what is seen here: http://peltiertech.com/Excel/pix1/BloodSugarFloater.gif Hi Che, just specify the

Re: [Matplotlib-users] X and Y label position in axes_grid1.AxesGrid/ImageGrid

2011-01-24 Thread Russell Hewett
Worked great, thanks! -r On Mon, Jan 24, 2011 at 2:32 PM, Paul Ivanov pivanov...@gmail.com wrote: Russell Hewett, on 2011-01-24 13:56, wrote: Hi All, I can't get the x label on the top row of an ImageGrid to display if there is more than one row in the grid. I suspect that something

Re: [Matplotlib-users] labels in ax = Axes3D(fig) are not aligned in parallel

2011-01-24 Thread Daniel Mader
Dear Paul, thank you very much for the quick reply! Unfortunately, I don't seem to get things right with your snippet of code: # prevent the automatic rotation caused by view changes ax.yaxis.set_rotate_label(False) ax.yaxis.label.set_rotation(45) Traceback (most recent call last): File

Re: [Matplotlib-users] floating bar chart?

2011-01-24 Thread C M
On Mon, Jan 24, 2011 at 4:42 PM, Paul Ivanov pivanov...@gmail.com wrote: C M, on 2011-01-24 16:27,  wrote: I looked through the gallery, but didn't see this one and am not sure how to create it.  It would be a floating bar chart (or floating column chart), like what is seen here:

Re: [Matplotlib-users] X and Y label position in axes_grid1.AxesGrid/ImageGrid

2011-01-24 Thread Benjamin Root
On Monday, January 24, 2011, Russell Hewett rhewe...@illinois.edu wrote: Worked great, thanks! -r On Mon, Jan 24, 2011 at 2:32 PM, Paul Ivanov pivanov...@gmail.com wrote: Russell Hewett, on 2011-01-24 13:56,  wrote: Hi All, I can't get the x label on the top row of an ImageGrid to

Re: [Matplotlib-users] labels in ax = Axes3D(fig) are not aligned in parallel

2011-01-24 Thread Benjamin Root
On Monday, January 24, 2011, Daniel Mader danielstefanma...@googlemail.com wrote: Dear Paul, thank you very much for the quick reply! Unfortunately, I don't seem to get things right with your snippet of code: # prevent the automatic rotation caused by view changes

[Matplotlib-users] Defining a precise x-axis max in plot()

2011-01-24 Thread Lionel (Lee) Brooks 3rd
Hello Gentlepeople, I am plotting an integer array using: matplotlib.pyplot.plot(). For my purposes it is imperative that the x-axis be explicitly defined. I have tried to achieve this by using: matplotlib.pyplot.axis(v). Where v is a list of integer values corresponding to the desired axes

Re: [Matplotlib-users] X and Y label position in axes_grid1.AxesGrid/ImageGrid

2011-01-24 Thread Russell Hewett
This is indeed correct. Somehow I missed this. Setting label_mode = 'all' gets the behavior I wanted. Though, the top and right side are technically on the outside too. Perhaps that should be an available or the default setting? Perhaps the top row should default to labeling on the top, the

Re: [Matplotlib-users] Defining a precise x-axis max in plot()

2011-01-24 Thread Eric Firing
On 01/24/2011 02:49 PM, Lionel (Lee) Brooks 3rd wrote: Hello Gentlepeople, I am plotting an integer array using: matplotlib.pyplot.plot(). For my purposes it is imperative that the x-axis be explicitly defined. I have tried to achieve this by using: matplotlib.pyplot.axis(v). Where v is a