Re: [Matplotlib-users] color problems in scatter plot

2011-10-03 Thread Ryan Nelson
Mike, sorry to send this twice... I should have sent it to the list as well... ___ Mike, If your locations were integers or floats rather than strings, you could just change the scatter call to the following: ax.scatter(dates,IDs,c= locations,marker='d') I don't know ab

Re: [Matplotlib-users] twinx problem

2011-10-03 Thread Jae-Joon Lee
On Tue, Oct 4, 2011 at 4:22 AM, Christopher Brown wrote: >     tick.label1.set_color('red') > You should use tick.label2, not tick.label1. tick.label2.set_color('red') Anyhow, as Eric said, it is strongly advised to use the tick_params method. -JJ -

Re: [Matplotlib-users] plot arrows for wind direction (degrees)

2011-10-03 Thread Eric Firing
On 10/03/2011 03:00 PM, Benjamin Root wrote: > On Mon, Oct 3, 2011 at 6:51 PM, questions anon > wrote: > > Hi All, > Is there a simple way to plot a directional arrow to represent a degree? > I have a netcdf file containing wind direction as degrees and

Re: [Matplotlib-users] Animated matplotlib in wxPython, sizing / redrawing quirk

2011-10-03 Thread John Ladasky
Following up to my own post: First, Sourceforge's listserv did not like the link to my animation. Let my try again, with a shortened link: http://flic.kr/p/an4oyo Second: > The indirect nature of this redrawing-by-sizing approach > sent me on a long and pointless hunt for bugs in my own code.

Re: [Matplotlib-users] plot arrows for wind direction (degrees)

2011-10-03 Thread Benjamin Root
On Mon, Oct 3, 2011 at 6:51 PM, questions anon wrote: > Hi All, > Is there a simple way to plot a directional arrow to represent a degree? > I have a netcdf file containing wind direction as degrees and I would like > to make a plot with all little arrows representing the wind direction. > Below i

Re: [Matplotlib-users] twinx problem

2011-10-03 Thread Eric Firing
On 10/03/2011 09:22 AM, Christopher Brown wrote: > import matplotlib.pyplot as pp > fig = pp.figure() > ax1 = fig.add_subplot(111) > ax2 = ax1.twinx() > # works (tick labels are blue): > for tick in ax1.yaxis.get_major_ticks(): > tick.label1.set_color('blue') > # does not work (tick labels ar

Re: [Matplotlib-users] twinx problem

2011-10-03 Thread Benjamin Root
On Mon, Oct 3, 2011 at 2:22 PM, Christopher Brown wrote: > Hi, > > Im running mpl 1.01 from sf installer with py2.7 on windows xp. Can > anyone tell me what I am doing wrong in the following snippet: > > import matplotlib.pyplot as pp > fig = pp.figure() > ax1 = fig.add_subplot(111) > ax2 = ax1.t

[Matplotlib-users] plot arrows for wind direction (degrees)

2011-10-03 Thread questions anon
Hi All, Is there a simple way to plot a directional arrow to represent a degree? I have a netcdf file containing wind direction as degrees and I would like to make a plot with all little arrows representing the wind direction. Below is the code I am using currently to plot wind direction but am not

[Matplotlib-users] twinx problem

2011-10-03 Thread Christopher Brown
Hi, Im running mpl 1.01 from sf installer with py2.7 on windows xp. Can anyone tell me what I am doing wrong in the following snippet: import matplotlib.pyplot as pp fig = pp.figure() ax1 = fig.add_subplot(111) ax2 = ax1.twinx() # works (tick labels are blue): for tick in ax1.yaxis.get_major_tic

[Matplotlib-users] matplotlib - fill open path inside U.S. borders - set_clip_path appro ach

2011-10-03 Thread Isidora
Hi again, still trying to accomplish the filling of certain paths only inside U.S. It ocurred to me that set_clip_path could work but so far, I have not been able to show the curve in the map. Could someone point out what is missing? Thanks #!/usr/bin/env python """http://www.scipy.org/Coo

[Matplotlib-users] Animated matplotlib in wxPython, sizing / redrawing quirk

2011-10-03 Thread John Ladasky
Hi, folks, I will be posting this question to both matplotlib-users and wxpython-users. Apologies to those of you who have to endure my ramblings two times in a row! Using this example by John Bender, http://www.scipy.org/Matplotlib_figure_in_a_wx_panel I recently constructed a working, animat

[Matplotlib-users] color problems in scatter plot

2011-10-03 Thread Michael Castleton
Hello, I am using Matplotlib 1.0.0 in Python 2.6. I am trying to plot time series data of unique IDs and color the points based on location. Each data point has a unique ID value, a date value, and a location value. The unique IDs and date values are plotting fine but I am unable to control the co

Re: [Matplotlib-users] Mac OSX 64bit

2011-10-03 Thread Benjamin Root
> Does the installation page needs updating? > http://matplotlib.sourceforge.net/users/installing.html#building-on-osx Yes. I made several changes to those docs for the v1.1.0 release. Hopefully, it will make things clearer. Ben Root -