In my interactive plots that connect with mouse scroll events
(event.button), I just noticed that TkAgg reports the opposite - 'up'
when the scroll direction is down and vice versa. GTKAgg and WxAgg
report the correct value.
I noticed this after installing ipython in a virtualenv and having
probl
You might be able to do this (before importing pyplot or pylab):
matplotlib.rcParams['text.usetex'] = True
matplotlib.rcParams['text.latex.preamble'] = '\usepackage{libertine}'
and optionally (if you have xpdf or poppler installed):
matplotlib.rcParams['ps.usedistiller'] = 'xpdf'
Good luck,
Jef
Sorry, perhaps I should have specified;
I'm using usetex, and Libertine is not among the supported fonts. In the
example RC file, it said that if any font was wanted, that could be
loaded with a \usepackage command, one should request it on the mailing
list.
On Wed, 2010-10-20 at 14:29 -0400,
Hello,
Consider these two simple lines in IPython -pylab:
plt.hist(np.random.randn(1000), normed=1, histtype='step', label='test', lw=2)
plt.legend()
How could I change the appearance of the legend symbol in this case?
It auto-uses a patch object (rectangle in this case).
I would like to get a st
> From: Thøger Emil Juul Thorsen [mailto:thoe...@fys.ku.dk]
> Sent: Monday, October 18, 2010 14:04
>
> I'm using the excellent font Linux Libertine for writing my thesis, in
> which I do my plotting in matplotlib. I would really love to
> be ablu to
> have consistent fonts in both text and graph
Friends,
I tried to do a 3d scatter plot. The following is my code. However i dnt
know how to set different colors and marker for x, y and z. Someone kindly
help in doing the same. I tried to give a sequence of colors as
c=['black','red','blue'] but i dnt get what i want.
--
im
On 10/19/2010 05:44 AM, vaishu wrote:
>
> Hey guys,
>
> I am a new user to the python& matplotlib, this might be a simple question
> but I searched the internet for hours and couldn't find a solution for this.
>
> I am plotting precipitation data from which is in the NetCDF format. What I
> find w
On Tue, Oct 19, 2010 at 1:27 PM, Friedrich Romstedt <
friedrichromst...@gmail.com> wrote:
>
> My idea would be to add another layer. Meaning to provide a class
> which *creates* Axes, and which has other instances of *this class* in
> an attribute. The attrib would be scalar. Repetition is done
2010/10/20 James Battat :
> Hi,
> I'm having trouble with my built-from-source installation of matplotlib on
> Snow Leopard (I also tried installing from the .dmg file, but that install
> failed -- see below for details).
*SIGH* *SIGH*
YEAH, this keeps bugging us.
Please do a search in Gmane (h
2010/10/20 Stefan Mauerberger :
> I want to make a polar plot with grid not of the full circle but a
> section (e.g. r=[5:6], phi=[-20:30]). The result should look like this:
> http://homepages.physik.uni-muenchen.de/~Stefan.Mauerberger/example.png
> I have tried a lot and had also looked to the ex
Hi,
I'm having trouble with my built-from-source installation of matplotlib on Snow
Leopard (I also tried installing from the .dmg file, but that install failed
-- see below for details).
I downloaded:
matplotlib-1.0.0.tar.gz
and then built and installed:
> tar xvzf matplotlib-1.0.0.tar.gz
Hello everyone,
I want to make a polar plot with grid not of the full circle but a
section (e.g. r=[5:6], phi=[-20:30]). The result should look like this:
http://homepages.physik.uni-muenchen.de/~Stefan.Mauerberger/example.png
I have tried a lot and had also looked to the examples but my results
Hey guys,
I am a new user to the python & matplotlib, this might be a simple question
but I searched the internet for hours and couldn't find a solution for this.
I am plotting precipitation data from which is in the NetCDF format. What I
find weird is that, the data doesn't have any negative va
Ben, thanks a lot! Your way does exactly what I want.
Scott, I do not understand your solution, unfortunately. I have already
known the example from the gallery. But up to now, I have not dealt with
masked arrays. Anyway ...
Thanks a lot again.
Stefan
--
14 matches
Mail list logo