Re: Still having problems with combining a contour and a line plot objects [message #50440] |
Mon, 02 October 2006 09:07 |
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  |
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  |
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.")
|
|
|