Thanks for all replies.
I got a solution by copying some files from SVN trunk revision 6155. I did
as follow:
svn co
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib
sudo cp
-b matplotlib/lib/matplotlib/backends/backend_pdf.py
Dear list,
How is it possible to draw a nice ellipse in a log-log plot using
patches.Ellipse ?
With matplotlib 0.91 I was able to to that using :
Ellipse((log10(100),log10(100)), width=100, height=100,alpha=0.5)
Now, it seems that something has changed in version 0.98 and I do not
need to ad
On Monday 29 September 2008 13:35:57 Buz Barstow wrote:
Dear All,
Does anyone know of a citation that I can use for Numpy?
Thanks! and all the best,
I found the following link that discusses a few options, but you may want to
ask on the numpy-discussion mailing list if there is a more
Eric Firing wrote:
dasratsel wrote:
Hi,
I've done some poking an I can't find a way to use imshow() to plot a
luminosity map on a hammer projection. (looking to generate a plot like
http://en.wikipedia.org/wiki/Image:WMAP_2008.png). Just setting the
projection in a call to subplot gives
imshow always assumes a regular rectangular grid of pixels. To plot
image data on a non-rectilinear projection, you need to use pcolor or
pcolormesh.
You may also want to look at the basemap toolkit, which provides much
better support for geographic projections. The ones included in
Hi everyone,
I wonder if there is a simple way to apply a multiplication factor to
the ticks labels of an axis.
say I'm plotting a 100 x 100 matrix with imshow and want the axis to
show (0 to 70) instead of (0 to 100), while still displaying the whole
matrix. In that case the coefficient would
On Mon, Oct 6, 2008 at 7:15 AM, Michael Droettboom [EMAIL PROTECTED] wrote:
In 0.98 ellipse is drawn using bezier curves, which do not scale
correctly in log-scaled plots.
As an alternative, you can use a RegularPolygon with a high number of
vertices (this is exactly what 0.91 did).
Here is
Back in March, 2007, a user asked about getting the resize_even to work.
No one responded to his question. I have the same problem. I tried
hooking up a method that I hoped would be called every time the graph
was resized (using the UI that is displayed by a show() call).
jcarnes schrieb:
I am writing a GUI application in wxPython and using MPL that plots figures,
saves them to image files, and then closes them all from within a thread to
keep the GUI responsive. Using the Enthought 2.3 install I would
sporatically have crashes that were hard to reproduce, but
On Mon, 2008-10-06 at 08:04 -0500, John Hunter wrote:
On Mon, Oct 6, 2008 at 3:52 AM, Henry Proudhon [EMAIL PROTECTED] wrote:
Hi everyone,
I wonder if there is a simple way to apply a multiplication factor to
the ticks labels of an axis.
say I'm plotting a 100 x 100 matrix with
Hi
How easy is it to customize the Basemap class? I seem to remember an
example where something is added to the toolbar but I can't remember
which example it was. What if I want to add a menu at the top of the window?
Mathew
Mathew Yeates wrote:
Hi
How easy is it to customize the Basemap class? I seem to remember an
example where something is added to the toolbar but I can't remember
which example it was. What if I want to add a menu at the top of the window?
Mathew
Mathew:
Basemap doesn't handle any
I found example I wish to build on. It's embedding_in_gtk2.py under
mpl_examples/user_interfaces. I'll put a menu at the top. But how can I
add a Basemap instead of a Figure?
Mathew
Jeff Whitaker wrote:
Mathew Yeates wrote:
Hi
How easy is it to customize the Basemap class? I seem to
On Mon, Oct 6, 2008 at 11:23 AM, Jeff Whitaker [EMAIL PROTECTED] wrote:
Basemap doesn't handle any GUI stuff - this is all done by matplotlib
proper. So, you'll need to look at the matplotlib docs to see how to
customize the toolbar.
Mathew,
To do stuff like adding menus and customizing the
David Goldsmith wrote:
I feel like I must be missing something
yup -- though it's an understandable miss...
Attached are the results on my computer (see usage details below).
Granted, I'm increasing the resolution each iteration,
you are increasing the resolution of the figure, and of your
Jon Froehlich wrote:
Hi Eric,
Thanks for the response. I am just calling show() within pylab and a GUI
automatically pops-up. A screenshot is attached. It looks like the
underlying GUI is TK? I am on Vista (unfortunately).
The problem is TK-specific, not Vista-specific. I can reproduce
Jon Froehlich wrote:
Back in March, 2007, a user asked about getting the resize_even to work.
No one responded to his question. I have the same problem. I tried
hooking up a method that I hoped would be called every time the graph
was resized (using the UI that is displayed by a show()
Mathew Yeates wrote:
I found example I wish to build on. It's embedding_in_gtk2.py under
mpl_examples/user_interfaces. I'll put a menu at the top. But how can
I add a Basemap instead of a Figure?
Mathew
Mathew: A basemap plot is just like any other matplotlib plot, it's
associated with a
Eric Firing wrote:
Christopher Barker wrote:
David Goldsmith wrote:
I feel like I must be missing something
yup -- though it's an understandable miss...
I think the longstanding separation between the figure.dpi and the
savefig.dpi is a continual gotcha that we can and should eliminate.
On Mon, Oct 6, 2008 at 1:40 PM, Eric Firing [EMAIL PROTECTED] wrote:
Jon Froehlich wrote:
Hi Eric,
Thanks for the response. I am just calling show() within pylab and a GUI
automatically pops-up. A screenshot is attached. It looks like the
underlying GUI is TK? I am on Vista (unfortunately).
Eric Firing wrote:
I think the longstanding separation between the figure.dpi and the
savefig.dpi is a continual gotcha that we can and should eliminate.
+1
I've never understood the separation -- why wouldn't it default to the
figure.dpi -- it could always be overridden by the keyword arg
The solution which worked well for me was to bite the bullet and switch to
PIL for my image generating/processing needs. FWIW,
DG
--- On Mon, 10/6/08, Eric Firing [EMAIL PROTECTED] wrote:
From: Eric Firing [EMAIL PROTECTED]
Subject: Re: [Matplotlib-users] canvas.print_figure printing a
22 matches
Mail list logo