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

Home » Public Forums » archive » Plot3 IDL
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
Plot3 IDL [message #67190] Thu, 09 July 2009 09:06 Go to next message
vikramivatury is currently offline  vikramivatury
Messages: 24
Registered: May 2009
Junior Member
Hello,

I was wondering if there is a function in IDL would allow me plot 3
variables on the same plot (i.e. age, height, weight)? Something like
plot3 in matlab...

Example:
plot, age, height, weight

This would show me an x,y and z axis.

Thanks,
Vikram
Re: Plot3 IDL [message #67344 is a reply to message #67190] Wed, 15 July 2009 12:01 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Vikram writes:

> Alright, I will try that. What do you mean by "reforming" my arrays?

I mean using REFORM to convert your 2D array to a 1D array.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Plot3 IDL [message #67345 is a reply to message #67190] Wed, 15 July 2009 11:56 Go to previous message
vikramivatury is currently offline  vikramivatury
Messages: 24
Registered: May 2009
Junior Member
On Jul 15, 2:41 pm, David Fanning <n...@dfanning.com> wrote:
> Vikram writes:
>> Actually, Plot_3DBox can only deal with 1-D arrays. Is there a
>> function that deals with 2-D arrays?
>
> Humm. Have you tried reforming your 2D arrays? :-)
>
> This sort of thing is not really IDL's forte. You may
> have to roll your own.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Alright, I will try that. What do you mean by "reforming" my arrays?
Thanks.

-Vik
Re: Plot3 IDL [message #67346 is a reply to message #67190] Wed, 15 July 2009 11:41 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Vikram writes:

> Actually, Plot_3DBox can only deal with 1-D arrays. Is there a
> function that deals with 2-D arrays?

Humm. Have you tried reforming your 2D arrays? :-)

This sort of thing is not really IDL's forte. You may
have to roll your own.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Another user input question
Next Topic: problem with modal dialog boxes on Ubuntu 8.10

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

Current Time: Sat Oct 11 10:07:18 PDT 2025

Total time taken to generate the page: 1.43972 seconds