Re: [Matplotlib-users] colorbar+log+latex

2011-01-25 Thread Eric Firing
On 01/25/2011 08:51 PM, Paul Ivanov wrote: > Eric Firing, on 2011-01-25 19:52, wrote: >> On 01/25/2011 06:58 PM, Shrividya Ravi wrote: >> [...] >>> On the same topic of the colorbar, how can I readjust the colors such >>> that it only goes between user-specified values? For example, I have one >>>

Re: [Matplotlib-users] colorbar+log+latex

2011-01-25 Thread Paul Ivanov
Eric Firing, on 2011-01-25 19:52, wrote: > On 01/25/2011 06:58 PM, Shrividya Ravi wrote: > [...] > > On the same topic of the colorbar, how can I readjust the colors such > > that it only goes between user-specified values? For example, I have one > > imshow plot where the values range between 0 a

Re: [Matplotlib-users] colorbar+log+latex

2011-01-25 Thread Eric Firing
On 01/25/2011 06:58 PM, Shrividya Ravi wrote: [...] > On the same topic of the colorbar, how can I readjust the colors such > that it only goes between user-specified values? For example, I have one > imshow plot where the values range between 0 and 350. However, I only > want to look at the values

Re: [Matplotlib-users] colorbar+log+latex

2011-01-25 Thread Shrividya Ravi
Hi there, I too want a log scale on the colorbar for an imshow plot. I have tried the solution proposed by Jae-Joon but I cannot get the ticklabels to show. I have tried to dynamically change the matplotlibrc settings in ipython using mpl.rc('text',usetex=True) - where mpl = matplotlib. When I run

Re: [Matplotlib-users] Suggestions for auto scaling fonts , etc for producing images at various scales

2011-01-25 Thread Daryl Herzmann
Hi Paul, Sorry for the delayed response On Fri, Jan 21, 2011 at 5:20 PM, Paul Ivanov wrote: > ok, much clearer now - what you want is for your text to not be > cut-off the way it is in the 8x8 80dpi plot? In other words, > there's not enough space left in the figure for the axis labels > to

[Matplotlib-users] osx dock weirdness

2011-01-25 Thread Daniel Hyams
(warning, this may not be directly a matplotlib question, but I thought that someone may have run across this) I have a colleague with a macbook pro, and I was showing him matplotlib. Downloaded an example from the gallery, and ran it. No windows showed up, but we did get the little bouncing "py

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

2011-01-25 Thread Lou Pecora
- Original Message From: Friedrich Romstedt To: Lou Pecora Cc: matplotlib-users@lists.sourceforge.net Sent: Tue, January 25, 2011 7:40:23 AM Subject: Re: [Matplotlib-users] How to get a Mac OS X version of Tcl/Tk rather than X11 version. 2011/1/24 Lou Pecora : > I have an installation

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

2011-01-25 Thread Lionel (Lee) Brooks 3rd
Hi Eric, You solved my problem; I called axis after the call to plot and the min-max obeyed my explicit definition. The version of matplotlib that I am running is "python-matplotlib - 0.99.0-1ubuntu1 (amd64)". Sorry for the incomplete code snippet that I submitted with my initial request. In t

Re: [Matplotlib-users] (no subject)

2011-01-25 Thread Uri Laserson
I recently bought a new Macbook Air, with OS X 10.6. I started using a new package manager called homebrew (http://mxcl.github.com/homebrew/) which is simple, clean, and git-based. I find it incredibly easy to use, and my numpy/scipy/mpl stack (using repo MPL) installed very smoothly. The packag

Re: [Matplotlib-users] Find the RMS from a PSD

2011-01-25 Thread E
I think this was a bug in the PSD function in matplotlib 0.98.1 (Debian lenny). This was making me crazy. I took newer source code of this function from the project and all is going well. So to get the RMS power from PSD : y, x = pylab.psd(data, NFFT = nfft, Fs = samplerate) freqbandwith = x[1] y

[Matplotlib-users] zoomed copy of axis for grid of subplots

2011-01-25 Thread johanngoetz
Hello, A common task I have is to histogram one variable of a multidimensional dataset as a function of two (or more) variables. I have attached an example which shows exactly what I would like to do. The problem I would like to solve is the zoomed in x-axis which is the last part of the script a

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

2011-01-25 Thread Friedrich Romstedt
2011/1/24 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

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

2011-01-25 Thread Jae-Joon Lee
On Tue, Jan 25, 2011 at 10:43 AM, Russell Hewett wrote: > 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 right column default to labeling > on the ri

[Matplotlib-users] Contoured basemap

2011-01-25 Thread Daniel Fulger
> On Thursday, January 20, 2011, Jeff Whitaker wrote: >> On 1/20/11 2:31 PM, R. Mitra wrote: >>> Hi >>> ? ? ?I have a set of records with known lat long. ?I want to show the >>> concentration of the records with a contour diagram on a world map in >>> any projection. It cannot spill over to the oc

[Matplotlib-users] (no subject)

2011-01-25 Thread Peter Smale
Hi, I am using Matplotlib with python 2.6 on a MacBook Pro (Mac OS X 10.6): Darwin Peters-MacBook-Pro.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386 I had a hard job getting matplotlib going, but eventually managed it using an eas