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

Home » Public Forums » archive » Re: question regarding 3d plotting
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
Re: question regarding 3d plotting [message #55201] Tue, 07 August 2007 12:31 Go to next message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
jeffwax1@hotmail.com wrote:
> Hopefully this will be an easy question for the users here to answer.
> When plotting in 2 dimensions, one uses the "plot" command and then
> "oplot" for putting additional lines on a graph. For plotting in 3d,
> it seems like plot_3dbox is the way to go, but how do I overplot
> additional lines? The oplot command only works in 2 dimensions, and I
> can't find something along the lines of "oplot_3d" in the idl library.
>
> I'd appreciate any help with this problem,
>
> -Jeff

Hi,

a long time ago I was using Xplot3D, with subsequent call as:
xplot3d,overplot=1, .....

this will allow you to rotate and, if you have the dexterity, zoom on
the data...

'Hope that helps!
Jean
Re: question regarding 3d plotting [message #55202 is a reply to message #55201] Tue, 07 August 2007 12:39 Go to previous message
jeffwax1 is currently offline  jeffwax1
Messages: 10
Registered: June 2004
Junior Member
On Aug 7, 2:21 pm, jeffw...@hotmail.com wrote:
> On Aug 7, 1:58 pm, David Fanning <da...@dfanning.com> wrote:
>
>
>
>> I think you will have to use something like PLOTS in 3D
>> space.
>
>> Cheers,
>
>> David
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming:http://www.dfanning.com/
>
> I was using plot_3dbox, but I suppose Plots in 3d is just as good.
> But even in that case, I still don't see how to overplot. If I just
> do the Plots command with a second set of data, isn't it just going to
> write over my first plot? Am I just missing some oplot-type command
> that works with 3 dimensions?
>
> -Jeff




Nevermind. Plots doesn't write over what I already had. Thanks for
your help.

-Jeff
Re: question regarding 3d plotting [message #55204 is a reply to message #55201] Tue, 07 August 2007 12:21 Go to previous message
jeffwax1 is currently offline  jeffwax1
Messages: 10
Registered: June 2004
Junior Member
On Aug 7, 1:58 pm, David Fanning <da...@dfanning.com> wrote:
>
> I think you will have to use something like PLOTS in 3D
> space.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/



I was using plot_3dbox, but I suppose Plots in 3d is just as good.
But even in that case, I still don't see how to overplot. If I just
do the Plots command with a second set of data, isn't it just going to
write over my first plot? Am I just missing some oplot-type command
that works with 3 dimensions?

-Jeff
Re: question regarding 3d plotting [message #55205 is a reply to message #55204] Tue, 07 August 2007 11:58 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
jeffwax1@hotmail.com writes:

> Hopefully this will be an easy question for the users here to answer.
> When plotting in 2 dimensions, one uses the "plot" command and then
> "oplot" for putting additional lines on a graph. For plotting in 3d,
> it seems like plot_3dbox is the way to go, but how do I overplot
> additional lines? The oplot command only works in 2 dimensions, and I
> can't find something along the lines of "oplot_3d" in the idl library.
>
> I'd appreciate any help with this problem,

I think you will have to use something like PLOTS in 3D
space.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: indexing arrays with arrays
Next Topic: iTools inside a procedure

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

Current Time: Thu Oct 09 07:03:49 PDT 2025

Total time taken to generate the page: 0.58967 seconds