Re: [Matplotlib-users] Size of array elements when using Axes3D.plot_wireframe(X, Y, Z, *args, **kwargs)

2012-08-02 Thread surfcast23
Gotcha ya working perfectly now thank you for the help! Benjamin Root-2 wrote: > > On Thursday, August 2, 2012, surfcast23 wrote: > >> >> Wouldn't >> >> X= np.ones((1, 45)) >> Y= np.zeros((32, 1)) >> >> change the existing values of the elements to ones and zeros? >> >> > I was just demonstrati

Re: [Matplotlib-users] Size of array elements when using Axes3D.plot_wireframe(X, Y, Z, *args, **kwargs)

2012-08-02 Thread Benjamin Root
On Friday, August 3, 2012, surfcast23 wrote: > > I tested it out and it does change all the values to ones and zeros. Is > there > a way to broadcast and keep the original values that were in the arrays? > Thanks for the help > > > Don't use ones() and zeros(). It was just a way to swtup a demons

Re: [Matplotlib-users] Size of array elements when using Axes3D.plot_wireframe(X, Y, Z, *args, **kwargs)

2012-08-02 Thread surfcast23
I tested it out and it does change all the values to ones and zeros. Is there a way to broadcast and keep the original values that were in the arrays? Thanks for the help Benjamin Root-2 wrote: > > On Thursday, August 2, 2012, surfcast23 wrote: > >> >> Okay thank you! The Matlab code I am bas

Re: [Matplotlib-users] Size of array elements when using Axes3D.plot_wireframe(X, Y, Z, *args, **kwargs)

2012-08-02 Thread Benjamin Root
On Thursday, August 2, 2012, surfcast23 wrote: > > Wouldn't > > X= np.ones((1, 45)) > Y= np.zeros((32, 1)) > > change the existing values of the elements to ones and zeros? > > I was just demonstrating what np.broadcast_arrays() does. Take your x and y arrays and put them through this function an

Re: [Matplotlib-users] Size of array elements when using Axes3D.plot_wireframe(X, Y, Z, *args, **kwargs)

2012-08-02 Thread surfcast23
sorry misssed this line "Which produces x and y with the same shapes, and their values duplicated in the direction the array was "expanded"." surfcast23 wrote: > > Wouldn't > > X= np.ones((1, 45)) > Y= np.zeros((32, 1)) > > change the existing values of the elements to ones and zeros? > > >

Re: [Matplotlib-users] Size of array elements when using Axes3D.plot_wireframe(X, Y, Z, *args, **kwargs)

2012-08-02 Thread surfcast23
Wouldn't X= np.ones((1, 45)) Y= np.zeros((32, 1)) change the existing values of the elements to ones and zeros? Benjamin Root-2 wrote: > > On Thursday, August 2, 2012, surfcast23 wrote: > >> >> Okay thank you! The Matlab code I am basing this on takes arrays of >> different >> shapes with d

Re: [Matplotlib-users] Size of array elements when using Axes3D.plot_wireframe(X, Y, Z, *args, **kwargs)

2012-08-02 Thread Benjamin Root
On Thursday, August 2, 2012, surfcast23 wrote: > > 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 docu

Re: [Matplotlib-users] Size of array elements when using Axes3D.plot_wireframe(X, Y, Z, *args, **kwargs)

2012-08-02 Thread surfcast23
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? B

Re: [Matplotlib-users] ANN: Michael Droettboom, matplotlib lead developer

2012-08-02 Thread Perry Greenfield
On Aug 2, 2012, at 5:25 PM, John Hunter wrote: > > I also extend my heartfelt thanks to Perry Greenfield and STScI. They > have been supporting matplotlib since 2004 with ideas, code and > developer resources. They employ Michael currently, and are part of > the reason why he is able to take on

Re: [Matplotlib-users] ANN: Michael Droettboom, matplotlib lead developer

2012-08-02 Thread Michael Droettboom
I couldn't put an exact date on when John began matplotlib, but its sourceforge repository was registered in June of 2003. Python 2.2 was the latest version available. Microsoft Windows XP was on the shelves, Mac OS X was new to the scene, and Linux had yet to be made easy by the likes of Ubu

Re: [Matplotlib-users] Size of array elements when using Axes3D.plot_wireframe(X, Y, Z, *args, **kwargs)

2012-08-02 Thread Benjamin Root
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? Wo

Re: [Matplotlib-users] Size of array elements when using Axes3D.plot_wireframe(X, Y, Z, *args, **kwargs)

2012-08-02 Thread surfcast23
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? -- View this message in context: http://old.nabble.com/Size-of-arr

[Matplotlib-users] [ANN] SIAM Conference on Computational Science & Engineering Submission Deadlines Approaching!

2012-08-02 Thread Fernando Perez
Dear Colleagues, the SIAM CSE13 conference will be held next year in Boston, and this is a conference that is well suited for much of the type of work that goes on in the open source scientific Python development community (and Julia). The conference is co-chaired by Hans-Petter Langtangen, well

[Matplotlib-users] ANN: Michael Droettboom, matplotlib lead developer

2012-08-02 Thread John Hunter
It is a great honor for me to announce that Michael Droettboom has agreed to take on the role of lead developer of matplotlib. Since Michael joined the project in 2007, he has been responsible for much of the code that brought matplotlib from being an excellent tool to a world class one. No one i

Re: [Matplotlib-users] shadedrelief basemap question

2012-08-02 Thread Jeff Whitaker
On 8/1/12 4:09 PM, Scott Henderson wrote: > Hi Jeff, > > I'm continuing to enjoy using basemap, but have a question about the shaded > relief background. I frequently use greyscale shaded relief on the > continents, but blue or white for the oceans. the shadedrelief() function is > really conven