[Matplotlib-users] Inconsistent Saving of Figures With Hatching

2012-04-13 Thread Patrick Marsh
/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.patricktmarsh.com

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=k, lw=2),

Re: [Matplotlib-users] Centering Text with axes_divider

2012-03-09 Thread Patrick Marsh
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 for Mesoscale Meteorological Studies National Severe

[Matplotlib-users] Centering Text with axes_divider

2012-03-08 Thread Patrick Marsh
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 Studies National Severe Storms

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

2012-02-07 Thread Patrick Marsh
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 / Liaison to the HWT School of Meteorology / University of Oklahoma Cooperative Institute for Mesoscale Meteorological Studies

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. Student / Liaison

[Matplotlib-users] Removing Markers from Figure

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

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

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

2009-08-23 Thread Patrick Marsh
. 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 Leelee.j.j...@gmail.com wrote: What you need is to adjust the axes position of the colorbar at the drawing time (because

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

2009-02-24 Thread Patrick Marsh
___ Matplotlib-users 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] Python 2.6 installer for Windows?

2009-02-23 Thread Patrick Marsh
://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Patrick Marsh Graduate Research Assistant School of Meteorology University of Oklahoma http://www.patricktmarsh.com -- Open Source Business Conference (OSBC), March 24-25

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

2009-01-27 Thread Patrick Marsh
___ Matplotlib-users 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
. If this is what you are looking for, I'm happy to share what I've done. -Patrick -- Patrick Marsh Graduate Research Assistant School of Meteorology University of Oklahoma http://www.patricktmarsh.com -- This SF.net email

Re: [Matplotlib-users] contour coordinates

2009-01-27 Thread Patrick Marsh
= 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 patrickmars...@gmail.com wrote: On Tue, Jan 27

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

2009-01-26 Thread Patrick Marsh
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] building from source on Windows

2009-01-26 Thread Patrick Marsh
(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 Assistant School of Meteorology

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 vasilescu_an...@yahoo.com wrote: Hi all,

Re: [Matplotlib-users] csv2rec column names

2009-01-03 Thread Patrick Marsh
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 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

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

2008-11-07 Thread Patrick Marsh
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 Oklahoma

[Matplotlib-users] Grid Difficulties

2008-08-23 Thread Patrick Marsh
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 P import copy def open_text

Re: [Matplotlib-users] Grid Difficulties

2008-08-23 Thread Patrick Marsh
. -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 wanting to grid to be shown for all of the x/y-ticks

Re: [Matplotlib-users] Retrieve Coordinates from Contour

2008-08-02 Thread Patrick Marsh
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 PROTECTED] wrote: Patrick Marsh

Re: [Matplotlib-users] Retrieve Coordinates from Contour

2008-08-02 Thread Patrick Marsh
... -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 misunderstood what you were trying to say - which is certainly possible). I'm not wanting