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

Home » Public Forums » archive » Re: contour plot at max z of surface in obj. graphics
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: contour plot at max z of surface in obj. graphics [message #18671] Thu, 20 January 2000 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Todd Bowers (tbowers@nrlssc.navy.mil) writes:

> I'm adding functionality to D Fanning's xsurface program. What
> I'm doing is adding the ability to import a different data set
> and vis. it as a contour positioned at the max z axis value (i.e.,
> on "top" of the surface object, a la Fanning's book p. 100 or the
> show3 procedure, both in direct graphics). Since my vis. space is
> normalized with his Normalize procedure, I thought it would be as
> simple as setting geomZ=0.5, the "top" of z, and maybe the setting
> planar=1. Doesn't work. 1 data set ranges ~ -300 - +200 in z value,
> while the other ranges ~ 0 - 5. Screwing around with the geomZ value
> doesn't give me a good indication of it's behavior because it the
> contour seems to move up and down in different ways depending on
> which data I choose as the surface and which I choose to overlay
> as the contour. Can anybody enlighten me on this?

Uh, no, I can't enlighten you. I'm teaching an object graphics
class this week and I have my hands full keeping up there. :-)

But I, too, have fooled around with the XSurface functionality,
and here is an example where I added a Contour plot and you
can move it up and down the Z axis by means of a slider.

ftp://www.dfanning.com/pub/dfanning/outgoing/misc/surf_conto ur.pro

My comments in the code suggest I was trying to set the
contour plot's GEOMZ property. However, it looks like I gave
up on the idea in the final code, because what I ended up
doing is putting the contour plot in its own model and just
translating that. I'd have to investigate why I did this,
but I just don't have the time this week. Perhaps you
can sort it out and let us know. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Previous Topic: How to display ytitle on the right side of the figure box?
Next Topic: contour plot at max z of surface in obj. graphics

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

Current Time: Mon Dec 01 01:09:23 PST 2025

Total time taken to generate the page: 8.13441 seconds