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
. 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
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
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
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