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

Home » Public Forums » archive » Re: projecting a PLOT onto wall of SURACE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: projecting a PLOT onto wall of SURACE [message #22437 is a reply to message #22433] Mon, 13 November 2000 00:00 Go to previous messageGo to previous message
Jaco van Gorkom is currently offline  Jaco van Gorkom
Messages: 97
Registered: November 2000
Member
With a little help from the t3d procedure:
surface, your_data, /save
; saves it's transformation matrix to !p.t
t3d, /yzexch
; exchanges the y and z axes of the transformation
plot, your_subset, /t3d, /noerase, zvalue=1
; 1 should be the "back wall"

I cannot get the plot axes to overlap exactly with the surface axes,
somehow. But I could move it around using the "position" keyword.
I personally find the page titled "Three-Dimensional Graphics" in the (5.3)
online help rather useful. It comes with an example of how the surface
routine uses t3d.

Cheers,
Jaco

"Andrew" <noymer@my-deja.com> wrote in message
news:8uobgl$dt1$1@nnrp1.deja.com...
> Dear C.l.i-p,
>
> I'm using 5.3 Direct Graphics to plot a SURFACE.
> On this, I superimpose (in a blank region!!) a 2-D PLOT
> that clarifies one covered-up aspect of the surface.
>
> It's a little bit cluttered, but not half as bad
> as it sounds, and I have a constraint on number of figs
> I can include with the article.
>
> It would look slightly better if I could /T3D the
> PLOT such that it lies in the XZ plane in the "back" of
> the surface. Things would just "line up" better visually
> if I could rotrate the supplementary plot. How to do this?
> Just doing /T3D makes the graph wind up IN the XY plane of
> the surface, which doesn't work.
>
> If this does not make any sense, then another way
> to explain what I want is to compare it to the CONTOURS lying
> above or below a SURFACE, which we see in so many examples
> (e.g. David's book, or "Using IDL"), except that I want
> the graph to lie in the BACK XZ plane, not the top XY plane,
> and in addition what I want to plot is not a contour but
> some other data. In fact all I want is the proper projection
> matrices to use with /T3d, because I specifically DON'T
> want the graph to take up the entire back panel --- I already
> have it sized OK I just need to get a way to get the right
> matrix.
>
> TIA,
> Andrew
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: XYOUTS documentation error?
Next Topic: How to create a Windows IDL app?

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

Current Time: Fri Oct 10 10:36:37 PDT 2025

Total time taken to generate the page: 1.28408 seconds