Re: [Matplotlib-users] adjusting width of subplot columns

2009-09-13 Thread Neil Crighton
per freem perfr...@... writes: hi all, i have a 3x2 subplot figure, and i would like to adjust the relative width of the second column. in other words, if i have: I set the axes positions by hand in these situations using add_axes(). So: fig = plt.figure() width1 = 0.3 width2 = 0.2

Re: [Matplotlib-users] How is the size value used to generate symbols?

2008-05-24 Thread Neil Crighton
. It is a scalar or an array of the same length as x and y. Manuel Neil Crighton wrote: I'd like to plot values where the area of a marker is proportional to some value. How is the size value given in, say: scatter(x,y,'o',s=10) used to generate the markers? By eye it looks like the size

[Matplotlib-users] How is the size value used to generate symbols?

2008-05-23 Thread Neil Crighton
I'd like to plot values where the area of a marker is proportional to some value. How is the size value given in, say: scatter(x,y,'o',s=10) used to generate the markers? By eye it looks like the size value is proportional to the area (i.e. proportional to the radius squared for circle

Re: [Matplotlib-users] plotting a series of 3D points and picker=True and 3D

2008-01-27 Thread Neil Crighton
I think scatter3D does what you want: from matplotlib import axes3d import pylab as pl fig = pl.figure() ax = axes3d.Axes3D(fig) ax.scatter3D(data[:,0],data[:,1],data[:,2]) ax.set_xlabel('X value') ax.set_ylabel('Y value') ax.set_zlabel('Z value') pl.show() You could also change the colour and

Re: [Matplotlib-users] Rotating data in graph and pick_event with Axes3D

2008-01-18 Thread Neil Crighton
Do you want to do a 3d plot? You can draw 3d plots and rotate them interactively using matplotlib.axes3d.Axes3D. Have a look at http://www.scipy.org/Cookbook/Matplotlib/mplot3D. Speaking of Axes3D, the picker=True keyword doesn't seem to work properly with the scatter3D function. Is it easy to