You may use the bbox attribute of the axes.
For example, ax.bbox.extents gives you the x,y coordinates of the
lowerleft and topright corners.
Perfect, thanks so much.
--
Register Now Save for Velocity, the Web
John, that's exactly what I wanted, thanks.
Andres
John Hunter wrote:
On Wed, Apr 29, 2009 at 10:54 AM, John Hunter jdh2...@gmail.com
mailto:jdh2...@gmail.com wrote:
fill_between does not currently support masked arrays, but I think
we could easily extend it to support the mask
Hi
In one part of my script I plot some lines
and assign labels to the lines.
Later in the script I create a figure legend.
How do I get the labels, that I assigned at plot-time, to
be used in the legend? Currently I am manually
specifying the legend labels.
# Plot some lines ... set values
hello,
I have written a program which uses matplotlib to plot some figures, it uses
mathtext to add some special chars (basically just the square on
acceleration units), and the program works just fine, but using py2exe to
build a windows executable, it fails somewhere drawing that square symbol.
It sounds like it is not finding the appropriate fonts. Have you tried
installing (in C:\Windows\Fonts) all of the ttf files included with
matplotlib?
If that's not it, can you provide a complete traceback with the exact
error message?
Mike
sordnay wrote:
hello,
I have written a program
Thomas,
As John suggested before, please check if the size differences go away
if you use the same dpi, actually dpi=72.
After some quick look, it seems that the osx backend does not scale
the font size correctly respecting the dpi.
At line 124 of bacend_macosx.py,
size =
Is there any specific reason that you have to use figlegend, instead
of legend?
I'm asking this because the legend command automatically collect all
the relevant information for you, i.e., you can just do
legend()
Of course the legend is displayed inside the axes unlike the figlegend.
If
Thanks for the quick answer,
I cant check now, it's also the reason why i didn't post the exact error
code,
but the program is supposed to use only Tahoma ttf font which I included on
the data files.
Michael Droettboom-3 wrote:
It sounds like it is not finding the appropriate fonts. Have
The mathtext engine (by default at least) uses the Computer Modern
fonts. Using a custom font, such as Tahoma, requires manual configuration.
Mike
sordnay wrote:
Thanks for the quick answer,
I cant check now, it's also the reason why i didn't post the exact error
code,
but the program is
Hey there,
In my application I'd like to export plots as Enhanced Metafiles (.emf).
After finding out that saving created plots as EMF generates an error, I
http://www.nabble.com/EMF-export-doesn%27t-work-td22618867.html read that
emf is no longer supported . Then I tried to
On Wed, Apr 29, 2009 at 3:51 AM, Gert-Jan gj_den_hei...@hotmail.com wrote:
Hey there,
In my application I'd like to export plots as Enhanced Metafiles (.emf).
After finding out that saving created plots as EMF generates an error, I
Hi, I am trying to control the amount of margin (white space) around the
figures (mainly for savefig) but could not find any information. Any tips?
Thanks, Juan
--
Register Now Save for Velocity, the Web
On Thu, Apr 30, 2009 at 3:46 PM, Juan Fiol fi...@yahoo.com wrote:
Hi, I am trying to control the amount of margin (white space) around the
figures (mainly for savefig) but could not find any information. Any tips?
Look at pyplot.subplots_adjust()
Ryan
--
Ryan May
Graduate Research
Fill between is for filling between two y-values over a range of
x-values. Is there anything which fills between to x-values over a
range of y-values?
--
Register Now Save for Velocity, the Web Performance Operations
On Thu, Apr 30, 2009 at 4:14 PM, T J tjhn...@gmail.com wrote:
Fill between is for filling between two y-values over a range of
x-values. Is there anything which fills between to x-values over a
range of y-values?
Nothing with the ease of use of fill_between, but you can always write your
The rotation and resetting of the labels isn't a big issue.
The issues is when I reverse the direction. Matplotlib seems to only
want to plot in an anti-clockwise direction. I can transform the data
to be backwards so that it looks ok, however when it tries to connect
the start and end points,
Ng, Enrico wrote:
The rotation and resetting of the labels isn't a big issue.
The issues is when I reverse the direction. Matplotlib seems to only
want to plot in an anti-clockwise direction. I can transform the data
to be backwards so that it looks ok, however when it tries to connect
the
Eric Firing wrote:
Split the command up:
p = Circle(...)
ax.add_patch(p, ...)
(add_* could be modified to return the reference; maybe this would be
worthwhile.)
+1
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
Thanks Ryan, just what I needed.
Juan
--- On Thu, 4/30/09, Ryan May rma...@gmail.com wrote:
From: Ryan May rma...@gmail.com
Subject: Re: [Matplotlib-users] margins in figures
To: fi...@yahoo.com
Date: Thursday, April 30, 2009, 9:59 PM
On Thu, Apr 30, 2009 at 3:46 PM, Juan Fiol
19 matches
Mail list logo