|
From: surfcast23 <sur...@gm...> - 2012-08-03 01:39:24
|
Okay thank you! The Matlab code I am basing this on takes arrays of different shapes with different sized elements ie x = 1 512 y = 101 1 and I guess automatically makes the the same shape. Can you point me in the direction of documentation that will explain how I can do this in Python? Benjamin Root-2 wrote: > > On Thursday, August 2, 2012, surfcast23 wrote: > >> >> >> >> surfcast23 wrote: >> > >> > In the documentation it says that Axes3D.plot_wireframe(X, Y, Z, *args, >> > **kwargs) takes 2D arrays as the first two arguments. Do the arrays >> have >> > to have the same size dimensions? >> > >> > >> >> Any one know? > > > Working from memory, the first two have to at least be "broadcastable" > into > the shape of Z. But absolutely, if x, y, and z are 2d, they have to be > the > same shape. It makes no sense otherwise. > > Cheers! > Ben Root > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- View this message in context: http://old.nabble.com/Size-of-array-elements-when-using-Axes3D.plot_wireframe%28X%2C-Y%2C-Z%2C-*args%2C-**kwargs%29-tp34243823p34248914.html Sent from the matplotlib - users mailing list archive at Nabble.com. |