[Matplotlib-users] Custom tick labels for mplot3D

2011-10-31 Thread Katie Boyle
Hi All, I was wondering how to set custom tick labels in an mplot3D plot? I have tried: ax = Axes3D(figure) ax.set_xticks(ticks,labels) - and - ax = Axes3D(figure) ax.w_xaxis.set_ticks(ticks,labels) and both options cause the plot to disappear from the viewing window. When I don't try to set

[Matplotlib-users] Assign colors to list?

2011-09-26 Thread Katie Boyle
Hi All, I was wondering how I take a list of 250 discrete values and match up each value in the list to a color in the gist_rainbow colormap. I want the highest value to be red, and the lowest value to be blue. I then want to plot a point for each value in the list, and the point's color should re

Re: [Matplotlib-users] Plotting 2D contourf in Axes3D X-Z plane instead of X-Y plane

2011-08-30 Thread Katie Boyle
on and non-planarity that pose problems. Cheers, Katie On Tue, Aug 30, 2011 at 5:22 PM, Benjamin Root wrote: > > > On Tuesday, August 30, 2011, Katie Boyle wrote: > > Hi All, > > > > I have a 2D grid comprised of 100 nodes in X, 300 nodes in Z, and a > single node in

[Matplotlib-users] Plotting 2D contourf in Axes3D X-Z plane instead of X-Y plane

2011-08-30 Thread Katie Boyle
Hi All, I have a 2D grid comprised of 100 nodes in X, 300 nodes in Z, and a single node in Y. I have a scalar value defined at each node point. I want to display this planar grid in 3D by first rendering a contour plot (no problems there) and then rotating it such that it plots as a vertical shee

[Matplotlib-users] Plot points over collection?

2011-08-26 Thread Katie Boyle
Hi, I create a collection item, add it to the current axis, and try to plot data points over it but the points do not show up. Here is my code: fig = plt.figure(figsize=(10,10)) ax = fig.gca() bb_collect = beachball.Beach([strike,dip,rake], linewidth=0.4, facecolor='gray', bgcolor='w'