[Matplotlib-users] plot a moving point from an input file

2008-07-20 Thread hussein alshatri
Hi all, I am new with matplotlib. I want to use matplotlib/animation. I want to plot a moving point. The information comes from input file that include columens as bellow: #time x_coordinatey_coordinate I have seen the examples on the website, But I don't know how to configure

[Matplotlib-users] basemap.transform_vector

2008-07-20 Thread Ryan May
Jeff, Is there any way to get transform_vector to only adjust the vector for the projection, not do any interpolation? I have a set of irregularly arranged points, so I'm unsure how to make it work. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma --

Re: [Matplotlib-users] plot a moving point from an input file

2008-07-20 Thread charlesrkiss
I would like to know how to plot a stationary point. Do you know how to plot a stationary point?? I will also be interested in plotting a moving point; so I'll be interested in this post. < I want to plot a moving point. The information comes from input file that include columens as bellow: #ti

Re: [Matplotlib-users] basemap.transform_vector

2008-07-20 Thread Jeff Whitaker
Ryan May wrote: > Jeff, > > Is there any way to get transform_vector to only adjust the vector for > the projection, not do any interpolation? I have a set of irregularly > arranged points, so I'm unsure how to make it work. > > Ryan > > Ryan: Yes, you can just use the rotate_vector method.

Re: [Matplotlib-users] plot a moving point from an input file

2008-07-20 Thread charlesrkiss
How about this for a stationary point: from pylab import * def point(x,y): a=arange(x,x+1,1) b=arange(y,y+1,1) plot(a,b, 'ro', ms=3) show() This works for me. Load the module "point" Run it by typing point(x,y), where x and y are the coordinates you'd like to see in a plot, and a magical re