Re: [Matplotlib-users] 3D layered plot

2012-04-05 Thread Marston Johnston
Hi Eric, For some reason I cannot see your post on the webpage but I get your emails. My python doesn't have: art3d.poly_collection_2d_to_3d() Is this an old function that has been deprecated? I'm using matplotlib version 1.1.0 /M On Apr 5, 2012, at 10:47 AM, Marston wrote: > &

[Matplotlib-users] 3D layered plot

2012-04-05 Thread Marston
This plot is possible in MATLAB but I would like to do this in matplotlib. See attached fig. In matlab the code is: a=peaks(20); b=peaks(20)+2*rand(20); c=rand(20); figure; hold on; ha=pcolor(a); hb=pcolor(b); hc=pcolor(c); set(hb,'zdata',0*b+5) set(hc,'zdata',0*c+10) This plot can then be rotat

Re: [Matplotlib-users] Subplot array and colorbar

2012-04-05 Thread Marston
cmd = '%s%s%s' % ('ece3_',win,'_L91.pdf') plt.savefig(cmd,dpi=600,orientation='landscape') I also attached an example. M

[Matplotlib-users] Subplot array and colorbar

2012-03-31 Thread Marston
Hi, I'm trying to create a plot, with subplots where each row of x plots have a common colorbar beneath it. Only the the top row will have titles. I've tried creating a function to do this but I only achieve partial success. Here is an image created in another program that I want to duplicate: h