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
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
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
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
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?
>
>
>
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
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
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
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
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
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
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
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
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
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
15 matches
Mail list logo