Thanks, Eric!
I had tried
pt = plot(...)
for p in pt:
p.remove()
and that did not do the trick. However, doing it the way you
suggested worked like a charm. Thanks!
Patrick
---
Patrick Marsh
Ph.D. Student / Liaison to the HWT
School of Meteorology / University of Oklahoma
Cooperative Inst
Thank you all! vlines was exactly what I needed.
Amy
On Fri, May 27, 2011 at 3:03 PM, Alan G Isaac wrote:
> On 5/27/2011 12:28 PM, Amy Zhang wrote:
> > I've created the following chart using matplotlib.pyplot.plot(). However,
> I would like to see the data points as bars from the bottom of the g
Hello Daniel,
The code you have given is simple and works fab. Thank you very much. But I
wasn't able to find an example which accesses the columns of a CSV files
when I import data through "datafile="filename.csv"" option. It will be
great if you could help with accessing individual columns. What
On 05/27/2011 07:53 AM, Patrick Marsh wrote:
> Greetings,
>
> I'm needing to create two plots, one is to serve as an overlay on the
> other. The overlay contains a set of markers to identify points in
> the underlaid probability field. I'm doing this in a loop with a map
> background, so to preve
On 5/27/2011 12:28 PM, Amy Zhang wrote:
> I've created the following chart using matplotlib.pyplot.plot(). However, I
> would like to see the data points as bars from the bottom of the graph up to
> the points
Matplotlib supports stem plots:
http://matplotlib.sourceforge.net/api/pyplot_api.html#
Greetings,
I'm needing to create two plots, one is to serve as an overlay on the
other. The overlay contains a set of markers to identify points in
the underlaid probability field. I'm doing this in a loop with a map
background, so to prevent redrawing the map every time, I want to
remove the ma
Hi Amy,
Use the vlines() function. Its what I have used in the past.
Cheers,
Aman
On Fri, May 27, 2011 at 12:28 PM, Amy Zhang wrote:
> Hello,
>
> I've created the following chart using matplotlib.pyplot.plot(). However, I
> would like to see the data points as bars from the bottom of the graph
The main difference is file size. When ps.useafm is True, the fonts
don't have to be embedded because it uses fonts that are required to be
available with every Postscript interpreter. When it is False, the
fonts have to be included as part of the file, resulting in larger file
sizes.
Mike
Thanks, Mike.
I've been away from the Windows machine for a couple of days. I did
ps.useafm set and your suggestion solved the problem.
Is there a reason not to use TrueType in all of my figures (since it
wasn't enabled by default)?
Thanks,
Oscar.
On Tue, May 24, 2011 at 11:06:10AM -0400, Michae
Ah, yes. That is all true. I'm not sure what options there may be in
that case.
Mike
On 05/27/2011 10:56 AM, Simon Jesenko wrote:
> Setting 'pdf.fonttype'=3 had no effect, embedded fonts are of fonttype=1
> nonetheless. I guess that pdf.fonttype parameter is used only when
> matplotlib uses it
Setting 'pdf.fonttype'=3 had no effect, embedded fonts are of fonttype=1
nonetheless. I guess that pdf.fonttype parameter is used only when
matplotlib uses it's own engine to render latex, and not when
text.usetex=true is used.
Cairo backend is not support when text.usetex=true (only Agg, pdf a
Have you tried setting the rcParams "pdf.fonttype" to 3? That should
subset the fonts.
Also, the Cairo backend supports font subsetting.
Mike
On 05/27/2011 07:00 AM, Simon Jesenko wrote:
> Hi,
>
> I have a problem with large file-sizes of plots saved to pdf, when using
> rcParams['text.usetex'
Hi,
I have a problem with large file-sizes of plots saved to pdf, when using
rcParams['text.usetex']=True
Files are very large (~150kb for simple line plot with some mathematical
latex expressions) as all fonts are fully embedded into pdf. When
resulting pdf is postprocessed (e.g. as is
http:/
13 matches
Mail list logo