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

Home » Public Forums » archive » Re: Still having problems with combining a contour and a line plot objects
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: Still having problems with combining a contour and a line plot objects [message #50440] Mon, 02 October 2006 09:07
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Karl Schultz writes:

> Yup, not enough clues. But here are some things to try.
>
> 1) You can change the drawing order by changing the order the graphic
> objects are inserted into the grModel. Or use the grContainer methods to
> move objects around in the model.
>
> 2) Check out the DEPTH_OFFSET property that is available in most graphic
> objects.
>
> 3) You can use the ZCOORD_CONV property to shift things around in Z as
> well.

As always with object graphics, there are about 15 ways
to skin the cat. :-)

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: Still having problems with combining a contour and a line plot objects [message #50442 is a reply to message #50440] Mon, 02 October 2006 09:03 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Mon, 02 Oct 2006 09:30:10 -0600, David Fanning wrote:

> clivecook59@gmail.com writes:
>
>> I am still trying to plot both a contour and a line plot object in the
>> same window. My problem seems to be the order in which the objects are
>> displayed. My contour displays fine, however my line plots are are
>> being hidden by the contour. How can i rearrange the order in which the
>> objects are displayed, so i can bring the line plot to the front?
>
> The simple answer is "reverse the order in which you
> draw them", but I'm not at all certain this applies in
> this case. You give us far too few clues to help much. :-(
>
> Cheers,
>
> David

Yup, not enough clues. But here are some things to try.

1) You can change the drawing order by changing the order the graphic
objects are inserted into the grModel. Or use the grContainer methods to
move objects around in the model.

2) Check out the DEPTH_OFFSET property that is available in most graphic
objects.

3) You can use the ZCOORD_CONV property to shift things around in Z as
well.

Karl
Re: Still having problems with combining a contour and a line plot objects [message #50444 is a reply to message #50442] Mon, 02 October 2006 08:30 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
clivecook59@gmail.com writes:

> I am still trying to plot both a contour and a line plot object in the
> same window. My problem seems to be the order in which the objects are
> displayed. My contour displays fine, however my line plots are are
> being hidden by the contour. How can i rearrange the order in which the
> objects are displayed, so i can bring the line plot to the front?

The simple answer is "reverse the order in which you
draw them", but I'm not at all certain this applies in
this case. You give us far too few clues to help much. :-(

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Still having problems with combining a contour and a line plot objects
Next Topic: Re: need more plotting symbols please

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

Current Time: Sun Oct 12 00:01:59 PDT 2025

Total time taken to generate the page: 0.01167 seconds