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

Home » Public Forums » archive » Displaying data in 3 coodinates
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Displaying data in 3 coodinates [message #32148] Fri, 13 September 2002 14:36 Go to next message
astib is currently offline  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 Go to previous message
Robert Moss is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Displaying data in 3 coodinates
Next Topic: closed surface

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

Current Time: Wed Oct 08 13:45:56 PDT 2025

Total time taken to generate the page: 0.00574 seconds