Displaying data in 3 coodinates [message #32148] |
Fri, 13 September 2002 14:36  |
astib
Messages: 15 Registered: June 2002
|
Junior Member |
|
|
Hi,
I have data in the form of 3 coordinates. i.e. it creates a point in
each iteration of the loop - P(x,y,z). All the plotting routines I
saw require data in form of either vector or z = F(x,y) .
I was wondering if I use errplot and set z as error, would I be
getting correct plot ?
I would appreciate if somebody can suggest a better way to do it; I am
sure people would have done it before.
Thanks and regards,
Asti
|
|
|
Re: Displaying data in 3 coodinates [message #32214 is a reply to message #32148] |
Thu, 19 September 2002 10:29  |
Robert Moss
Messages: 74 Registered: February 1996
|
Member |
|
|
Or
Y_arr = REPLICATE( Y, 1000 )
which I presume is slightly more efficient.
--
Robert M. Moss PhD
rmoss4@houston.rr.com
"Pavel A. Romashkin" <pavel_romashkin@hotmail.com> wrote in message
news:3D8A03C6.B86D2B35@hotmail.com...
> The simpliest way is to generate Y like so:
>
> Y_arr = fltarr(1000) + Y
>
> where Y is the single value you have for the thousand-point-long X and Z
vectors.
> Cheers,
> Pavel
>
> Asti Bhatt wrote:
>>
>> Hi,
>>
>> My z and x are same size arrays and y different size. Now in
>> plot_3Dbox, all three of them should be of same size. The data I have
>> is like for certain value of y, I have 1000 x and z values. How do I
>> plot that ?
>>
>> Thanks,
>> Asti
|
|
|