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

Home » Public Forums » archive » Re: 2 slices in 3D space
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: 2 slices in 3D space [message #56983] Thu, 29 November 2007 19:35 Go to next message
caitouer is currently offline  caitouer
Messages: 21
Registered: June 2005
Junior Member
On Nov 29, 1:32 am, David Fanning <n...@dfanning.com> wrote:
> caitouer writes:
>> I have never done this and have no idea how to start. I have two 2D
>> data files, i.e., temperature T(x, y, z=0) and T(x, y=0, z). I would
>> like to plot two orthogonal slices, i.e., T in xoy plane and T in xoz
>> planes, and show them in 3D space. Hopefully I describe this clearly.
>> Basically I want to get something like this:
>
>> -------------------------------
>> | |
>> ----
>> | | /
>> ------------------------------- /
>> / /|
>> / / |
>
>> -------------------------------
>
SCALE3 seems promising. I will post my code after I figure it out.

Thanks,

Caitouer

>> Any hint will be appreciated.
>
> I'd have a look at SCALE3 and the T3D keyword to the PLOTS
> command.
>
> 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: 2 slices in 3D space [message #56984 is a reply to message #56983] Thu, 29 November 2007 19:34 Go to previous messageGo to next message
caitouer is currently offline  caitouer
Messages: 21
Registered: June 2005
Junior Member
Thanks for your information. I will take a look.

Caitouer
Re: 2 slices in 3D space [message #57010 is a reply to message #56984] Wed, 28 November 2007 22:32 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
caitouer writes:

> I have never done this and have no idea how to start. I have two 2D
> data files, i.e., temperature T(x, y, z=0) and T(x, y=0, z). I would
> like to plot two orthogonal slices, i.e., T in xoy plane and T in xoz
> planes, and show them in 3D space. Hopefully I describe this clearly.
> Basically I want to get something like this:
>
> -------------------------------
> | |
> ----
> | | /
> ------------------------------- /
> / /|
> / / |
>
> -------------------------------
>
> Any hint will be appreciated.

I'd have a look at SCALE3 and the T3D keyword to the PLOTS
command.

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: 2 slices in 3D space [message #57011 is a reply to message #57010] Wed, 28 November 2007 22:18 Go to previous messageGo to next message
mankoff is currently offline  mankoff
Messages: 131
Registered: March 2004
Senior Member
On Nov 29, 4:35 pm, caitouer <caito...@yahoo.com> wrote:
> Greetings, all,
>
> I have never done this and have no idea how to start. I have two 2D
> data files, i.e., temperature T(x, y, z=0) and T(x, y=0, z). I would
> like to plot two orthogonal slices, i.e., T in xoy plane and T in xoz
> planes, and show them in 3D space. Hopefully I describe this clearly.
> Basically I want to get something like this:
>
> -------------------------------
> | |
> ----
> | | /
> ------------------------------- /
> / /|
> / / |
>
> -------------------------------
>
> Any hint will be appreciated.
>
> Caitouer


The fine skill of ASCII art requires both the artist and the artee (or
viewer) to use fixed width fonts. I'm viewing with a fwf but it does
not make sense to me. Did you create it with one?

For those of your who really enjoy ASCII art, I recommend
ASCIIMoviePlayer here: http://users.ugent.be/~jmaebe/ASCIIMoviePlayerSample/
which also has links to various other ASCII movie player code bases.

Regarding getting your planar data viewable in a 3D space, I'd take a
look at the thunderstorm demo.
Re: 2 slices in 3D space [message #57074 is a reply to message #56983] Fri, 30 November 2007 04:03 Go to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Nov 30, 3:35 am, caitouer <caito...@yahoo.com> wrote:
> SCALE3 seems promising. I will post my code after I figure it out.

if you want something very simple, try:
SHOW3, T[*, *, 0], REFORM (T[*, 0, *])

But for anything beyond the simple plot that this one-liner gives, I'm
sure David's method is much more managable, customisable and generally
sensible. :-)

Chris
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: particle detection - a way to speed up things?
Next Topic: FastDL v2.4 is released

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

Current Time: Wed Oct 08 17:18:38 PDT 2025

Total time taken to generate the page: 0.00806 seconds