comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: how to combine two data into one data?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how to combine two data into one data? [message #43666 is a reply to message #43662] Tue, 19 April 2005 08:31 Go to previous messageGo to previous message
Benjamin Luethi is currently offline  Benjamin Luethi
Messages: 22
Registered: December 2004
Junior Member
It means nothing - it's only my opinion:

I assumed that x and y are both plot axis to plot some function or data
z(x,y)

IDL likes to have the two axis seperately:
SHADE_SURF, Z, X, Y
CONTOUR, Z, X, Y
etc...

So, by combining the two axis you don't save anything, because you have to
split them again for the next plotting call.

Ben

On Tue, 19 Apr 2005 17:13:11 +0200, lixiaoyao <lixiaoyao5880@yahoo.com>
wrote:

>
> Benjamin Luethi wrote:
>> Hi,
>>
>> I'm not sure what you're trying to do...
>>
>> if you want x and y in the same array use:
>> data=[[x],[y]]
> thanks a lot,this is what I want.
>>
>> (Now data[3,0] = x[3] and data[7,1] = y[7])
>>
>> But most plotting routines require x and y
>> seperately, so don't bother.
> what does this mean?
> thanks
>>
>> Ben
>>
>> On Tue, 19 Apr 2005 16:08:18 +0200, lixiaoyao
> <lixiaoyao5880@yahoo.com>
>> wrote:
>>
>>> for example
>>> x=10*!pi*findgen(1001)/1000
>>> y=10*!pi*findgen(1001)/1000
>>> how to let z a two dimension vector compose if x and y.
>>> Thanks
>>>
>>
>>
>>
>> --
>> Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how to stop erase graph?
Next Topic: 3D rendering of a 3D binary structure

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 23:06:49 PDT 2025

Total time taken to generate the page: 0.32240 seconds