[Matplotlib-users] Inconsistent Saving of Figures With Hatching

2012-04-13 Thread Patrick Marsh
2012images/20060406_day2_color.png Thanks for any help! Patrick --- Patrick Marsh Ph.D. Candidate / Liaison to the HWT School of Meteorology / University of Oklahoma Cooperative Institute for Mesoscale Meteorological Studies National Severe Storms Laboratory http://www.patrick

Re: [Matplotlib-users] Centering Text with axes_divider

2012-03-10 Thread Patrick Marsh
Hi, JJ, I wonder why the simple text command does not work for you? e.g., > > def add_center_text(ax): >ax.text(0.5, 0.9075, "Centered Title", ha='center', va='center', > fontsize=18, >bbox=dict(boxstyle='round, pad=0.5, rounding_size=0.25', > fc="white", > ec=

Re: [Matplotlib-users] Centering Text with axes_divider

2012-03-09 Thread Patrick Marsh
tside the anchored box. Is this a bug in how the text is aligned? If so, how might I go about tracking it down? https://gist.github.com/2004869 (rev: b984ca) Cheers, Patrick --- Patrick Marsh Ph.D. Student / Liaison to the HWT School of Meteorology / University of Oklahoma Cooperative Institute

[Matplotlib-users] Centering Text with axes_divider

2012-03-08 Thread Patrick Marsh
this is because ImageGrid ultimately does what I did here behind the scenes.) https://gist.github.com/2004869 Thanks for any help! Patrick --- Patrick Marsh Ph.D. Student / Liaison to the HWT School of Meteorology / University of Oklahoma Cooperative Institute for Mesoscale Meteorological Studi

Re: [Matplotlib-users] How matplotlib got me a job

2012-02-07 Thread Patrick Marsh
a little off the original topic, so if you're still reading, thanks! This is something that's been weighing on me for a few months now, and I thought Ben's exultation of the benefits of the community might be a good time to open up. Cheers, Patrick --- Patrick Marsh Ph.D. Student /

Re: [Matplotlib-users] Plotting basemap on top of other data

2011-12-10 Thread Patrick Marsh
HI, My initial thought was that you need to use the "zorder" keyword argument and set the zorder to a large value. However, the more I thought about it, I'm not really sure how you are plotting the satellite data. Can you provide a code snippet? PTM --- Patrick Marsh Ph.D. Stude

Re: [Matplotlib-users] Removing Markers from Figure

2011-05-27 Thread Patrick Marsh
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

[Matplotlib-users] Removing Markers from Figure

2011-05-27 Thread Patrick Marsh
ch plot to have only a single point, but the old points aren't being removed and are displayed on subsequent images. What am I doing wrong? Patrick --- Patrick Marsh Ph.D. Student / Liaison to the HWT School of Meteorology / University of Oklahoma Cooperative Institute for Mesoscale Meteoro

Re: [Matplotlib-users] Create axes instance position relative to another axes instance position??

2009-08-23 Thread Patrick Marsh
the current Enthought release. Patrick --- Patrick Marsh Graduate Research Assistant School of Meteorology University of Oklahoma http://www.patricktmarsh.com On Sat, Aug 22, 2009 at 10:37 PM, Jae-Joon Lee wrote: > What you need is to adjust the axes position of the colorbar at the > drawing ti

Re: [Matplotlib-users] 0.98.6svn Windows

2009-06-23 Thread Patrick Marsh
t .exe for you. Maybe in a week or two I'll have more time, but based on my schedule, I doubt it. Patrick --- Patrick Marsh Graduate Research Assistant School of Meteorology University of Oklahoma http://www.patricktmarsh.com On Tue, Jun 23, 2009 at 11:45 AM, Ryan Wagner wrote: >

Re: [Matplotlib-users] Installing matplotlib for Python 2.6 on windows

2009-02-24 Thread Patrick Marsh
source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- Patrick Marsh Graduate Research Assistant Sch

Re: [Matplotlib-users] Python 2.6 installer for Windows?

2009-02-23 Thread Patrick Marsh
ers mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Patrick Marsh Graduate Research Assistant School of Meteorology University of Oklahoma http://www.patricktmarsh.com -

Re: [Matplotlib-users] contour coordinates

2009-01-27 Thread Patrick Marsh
x, y = map(vertex[0],vertex[1],inverse=True) # vertex[0] and now 'x' is the longitude of the vertex and vertex[1] and now 'y' is the latitude of the vertex Let me know how this works. -Patrick > > On Tue, Jan 27, 2009 at 7:09 PM, Patrick Marsh >

Re: [Matplotlib-users] contour coordinates

2009-01-27 Thread Patrick Marsh
ry. > http://p.sf.net/sfu/sf-spreadtheword > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > I'm not sure if this is entirely

Re: [Matplotlib-users] building from source on Windows

2009-01-27 Thread Patrick Marsh
urcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -

Re: [Matplotlib-users] building from source on Windows

2009-01-26 Thread Patrick Marsh
nge(0,100) y = range(0,100) plt.plot(x,y) plt.show() As for the error you specifically mentioned, have you checked to make sure that the correct dll exists? This error typically happens to me when the dll didn't build properly (if at all). -- Patrick Marsh Graduate Research Assist

Re: [Matplotlib-users] building from source on Windows

2009-01-26 Thread Patrick Marsh
This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net

Re: [Matplotlib-users] csv2rec column names

2009-01-03 Thread Patrick Marsh
be able to get that data by specifying the column number > as that stays the same in all files. > > I'll look at numpy but I hope there is a simpler way. > > Thanks, > Anton > > > > Patrick Marsh-2 wrote: >> >> I'm not sure what you are needin

Re: [Matplotlib-users] csv2rec column names

2009-01-03 Thread Patrick Marsh
I'm not sure what you are needing it for, but I would suggest looking into numpy's loadtxt function. You can use this to load the csv data into numpy arrays and pass the resulting arrays arround. -Patrick On Sat, Jan 3, 2009 at 11:21 AM, antonv wrote: > > Hi all, > > I have a lot of csv fi

[Matplotlib-users] Land-Sea masks (mpl_toolkits.basemap)

2008-11-07 Thread Patrick Marsh
ns to show up with a white background and no data contoured. Am I completely missing something or is this functionality missing? Thanks, -- Patrick Marsh Graduate Research Assistant School of Meteorology University of Okl

Re: [Matplotlib-users] Grid Difficulties

2008-08-23 Thread Patrick Marsh
still puzzling. -Patrick On Sat, Aug 23, 2008 at 9:49 AM, Patrick Marsh < [EMAIL PROTECTED] <[EMAIL PROTECTED]>>wrote: > Greetings, > > I'm having considerable difficulties in getting the axes grid to display > they way I would like it to. Basically, I'm

[Matplotlib-users] Grid Difficulties

2008-08-23 Thread Patrick Marsh
e from -5 to 4...how would I go about making sure the last 5 was included in the colorbar? I'll admit I haven't looked into this much as of now since the first question was / is more pressing. Thanks! -Patrick Marsh from __future__ import division import numpy as np import pylab as

Re: [Matplotlib-users] Retrieve Coordinates from Contour

2008-08-02 Thread Patrick Marsh
this is figured out... -Patrick On Sat, Aug 2, 2008 at 7:33 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > Patrick Marsh wrote: > >> Thanks for the quick reply. >> >> I may not have been totally clear on what I'm trying to save (or I totally >> misunderst

Re: [Matplotlib-users] Retrieve Coordinates from Contour

2008-08-02 Thread Patrick Marsh
on pairs of the contour. Using my original example, if I'm plotting winds every 5 m/s, I'm wanting to pull off the lat, lon pairs for the 5 m/s contours. I'll check out the website and see if I find anything there. -Patrick On Sat, Aug 2, 2008 at 6:13 PM, Jeff Whitaker <[EMAIL PROT

[Matplotlib-users] Retrieve Coordinates from Contour

2008-08-02 Thread Patrick Marsh
(which I can do just fine), I would like to save a copy of the lat, lon pairs as a text file. However, I cannot for the life of me figure out how to do this. I have a feeling it is pretty simple and I'm just over looking something that can do this. Any help would be appreciated. Thanks, -Pa