[Matplotlib-users] Large figure sizes get squashed or clipped?

2009-11-24 Thread doctorj
I'm trying to make a 10 inch wide by 30 inch high, 72 dpi figure and display it interactively. Matplotlib seems to squash the height for anything over a certain size, depending on the backend: --- #!/usr/bin/env python import sys, os, matplotlib ma

Re: [Matplotlib-users] Engineering prefixed units in tick labels

2009-11-24 Thread Jason Heeris
Hi, 2009/11/18 Jason Heeris : > In gnuplot, I can do the following: > > set format x "%.0s %cHz" > > ...and this will set the x-axis labels (on a semilogx style plot) to > be "10 Hz", "100 Hz", "1 kHz", "10 kHz", etc. I ended up implementing this myself, it wasn't too hard. I've attached the code

[Matplotlib-users] mplot3d animations

2009-11-24 Thread Sébastien Barthélemy
Hello, I would like to do animations of a 3d scene. Thus I would need do to animation of some mplot3d-generated plot. Has somebody already tried it ? Is it possible at all ? My first test don't work, but I never did an animation in matplotlib before. I would like to be sure this is not a dead end

Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows

2009-11-24 Thread Christoph Gohlke
I was able to reproduce your problem on one of our Pentium III computers and traced it down to a bug in the _path module initialization function (will file a separate bug report). Please try again installing the updated from . Christoph

Re: [Matplotlib-users] `fig.subplots_adjust` does not behave as advertized

2009-11-24 Thread Jeff Whitaker
Phillip M. Feldman wrote: > Jeff Whitaker wrote: >> Phillip M. Feldman wrote: >>> Jeff Whitaker wrote: Dr. Phillip M. Feldman wrote: > The basemap demo `cubed_sphere.py` contains the following line of > code: > >fig.subplots_adjust(bottom=0, left=0, right=1, top=0, wspace=

Re: [Matplotlib-users] C compiler is being used to compile C++ code.

2009-11-24 Thread Michael Droettboom
Dr. David Kirkby wrote: > Michael Droettboom wrote: >> A colleague of mine also suggested an alternative workaround that is >> almost humorously simple. Define both the C and C++ compilers to be >> "CC" when building matplotlib. That is, set the environment variable >> "CC" to "CC" and "CXX" t

Re: [Matplotlib-users] C compiler is being used to compile C++ code.

2009-11-24 Thread Dr. David Kirkby
Michael Droettboom wrote: > A colleague of mine also suggested an alternative workaround that is > almost humorously simple. Define both the C and C++ compilers to be > "CC" when building matplotlib. That is, set the environment variable > "CC" to "CC" and "CXX" to "CC". Distutils will then u

Re: [Matplotlib-users] `fig.subplots_adjust` does not behave as advertized

2009-11-24 Thread Phillip M. Feldman
Jeff Whitaker wrote: > Phillip M. Feldman wrote: >> Jeff Whitaker wrote: >>> Dr. Phillip M. Feldman wrote: The basemap demo `cubed_sphere.py` contains the following line of code: fig.subplots_adjust(bottom=0, left=0, right=1, top=0, wspace=0, hspace=0) >From

Re: [Matplotlib-users] C compiler is being used to compile C++ code.

2009-11-24 Thread Michael Droettboom
A colleague of mine also suggested an alternative workaround that is almost humorously simple. Define both the C and C++ compilers to be "CC" when building matplotlib. That is, set the environment variable "CC" to "CC" and "CXX" to "CC". Distutils will then use the C++ compiler for everythin

[Matplotlib-users] figure figsize (10, 4) just like (12, 4) (newbie)

2009-11-24 Thread denis
Folks, I want to use the full screen width in plots, but it looks as though the size of the screen window is clipped somewhere ? import pylab as pl for h in (4,): for w in (8, 10, 12): fig = pl.figure( figsize=(w,h) ) pl.plot( range(10) ) # widths 10, 12 display the same

[Matplotlib-users] Help ploting bars

2009-11-24 Thread Bruno Santos
Hello everyone, I am trying to use matplotlib to plot several bar charts inside a for loop the problem is that I get the first one, but once I close it I cannot plot anymore. I still get the window but no image appear and eventually python crashes. Here is my code: [code] def plot(self):

Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows

2009-11-24 Thread Dilip Warrier
Christoph, you were right about the lack of SSE2 support. CPU-Z says that my laptop has only SSE support. However, when I downloaded your build and installed it, I still have the same problem. Thanks for all your help on this. Dilip. - Original Message From: Christoph Gohlke To: m

Re: [Matplotlib-users] quiver without any scaling

2009-11-24 Thread Damon McDougall
Hi Xavier, I'm sorry. As I don't know a great deal about the nuts and bolts of matplotlib, I don't think I'm well enough equipped to answer your question. Perhaps someone else on this list can help out? Regards, -- Damon -- Damon McDougall Mathematics Institute Univers