[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: projecting a PLOT onto wall of SURACE
- Subject: Re: projecting a PLOT onto wall of SURACE
- From: "Jaco van Gorkom" <gorkom(at)rijnh.nl>
- Date: Mon, 13 Nov 2000 20:19:01 -0000
- Newsgroups: comp.lang.idl-pvwave
- Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom
- References: <email@example.com>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:22161
With a little help from the t3d procedure:
surface, your_data, /save
; saves it's transformation matrix to !p.t
; 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.
"Andrew" <firstname.lastname@example.org> wrote in message
> 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
> Sent via Deja.com http://www.deja.com/
> Before you buy.