[Matplotlib-users] 3D Parametric plots? (was: plot x y value(x, y) )

2006-10-13 Thread Louis Pecora
Hanno Klemm wrote: > Louis, > > my problem has been solved with your hint to contour and contourf. > > Thanks again, > Hanno > > > > Glad that helped although I wasn't sure. Your post did make me realize that a 3D scatter plot with option to connect points is a good idea. In my quick glance

Re: [Matplotlib-users] plot x y value(x,y)

2006-10-13 Thread Louis Pecora
Hanno Klemm wrote: > Hi Louis, > > sorry for being unclear. What I have is a list of data points given in > the format > > x y value > > so my array looks like > > x_1, y_1, v_1 > x_2, y_2, v_2, > > etc. > > Now I want to plot a point at (x_i, y_i) and assign to it a color > according to v_i. The p

Re: [Matplotlib-users] plot x y value(x,y)

2006-10-13 Thread Louis Pecora
Christian Meesters wrote: > Hi, > > No stupid question at all! I don't really understand your question, but it > sounds to me like a scatter plot is what you want. In that case, just have a > look at the scatter plot demos on the web page (-> screenshots) or in the > example files. > > HTH > Chr

[Matplotlib-users] Got to set WXAgg on Mac to get pylab to work?

2006-10-12 Thread Louis Pecora
In order get pylab to work on my Mac I have to do the following (found by some experimenting): import matplotlib matplotlib.use("WXAgg") import pylab Does this seem right? I mean, it works, but it seems to be a little gymnastics to go through rather than just doing import pylab which gives

Re: [Matplotlib-users] Setting aspect ratio?

2006-09-08 Thread Louis Pecora
I have looked in the User's Guide for matplotlib, but couldn't find anything on setting the aspect ratio. Can anyone point me to some info online? I will continue to look. Thanks. -- Cheers, Lou Pecora Code 6362 Naval Research Lab Washington, DC 20375 USA Ph: +202-767-6002 email: [EMAI

Re: [Matplotlib-users] iregular data set

2006-07-21 Thread Louis Pecora
Rodrigues, Joseph wrote: > Made a boo boo, the image is not showing so here it is again > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Bill Dandreta > Sent: Friday, July 21, 2006 3:09 PM > To: matplotlib-users@lists.sourceforge.net > Subject: R

Re: [Matplotlib-users] Problem: Multiple plots with same variables plot incorrectly.

2006-06-01 Thread Louis Pecora
Christopher Barker wrote: Louis, This is standard num* array behavior: arrays are mutable, and MPL is not making copies of them when you plot, which is a good thing. by the way, slices of arrays are references too, which is different than python lists, so it can be surprising, but also usefu

[Matplotlib-users] Problem: Multiple plots with same variables plot incorrectly.

2006-05-31 Thread Louis Pecora
I have some simple code (I've cut it down a lot, but kept the problem) that tries to plot two sets of data using the same variables. It appears that re-using the variables from the first plot for the second plot affects the first plot. In fact the two plots become identical. I am guessing th