Plot3 IDL [message #67190] |
Thu, 09 July 2009 09:06  |
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  |
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  |
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  |
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.")
|
|
|