Home »
Public Forums »
archive »
Re: Why do two graphics objects in the same program appear in two different windows?
Re: Why do two graphics objects in the same program appear in two different windows? [message #20335] |
Tue, 13 June 2000 00:00 |
Ben Tupper
Messages: 186 Registered: August 1999
|
Senior Member |
|
|
kyle04@my-deja.com wrote:
> I have a widget-based application which is a 3-D model of a Roche-lobe
> filling star, and I am trying to plot an array of points in the same
> window using the plot and oplot commands, but they appear in a separate
> window.
Your description sounds like you might be trying to mix direct and object
graphics.
The PLOT and OPLOT commands are for direct graphics... which you can't use
with object graphics in the same window. When the draw widget
was created for the application, the GRAPHICS_LEVEL keyword was probably
set to 2.
> I tried defining the array as an IDLgrImage, because the star
> is defined as a IDLgrModel, but it still plots in a separate window.
If you define a new graphic atom for your scatter data, try IDLgrPOLYLINE
(or IDLgrPlot using ZVALUE), and then add it to the model, you should be
able to get what you are looking for.
Ben
--
Ben Tupper
Bigelow Laboratory for Ocean Science
tupper@seadas.bigelow.org
pemaquidriver@tidewater.net
|
|
|
Current Time: Wed Oct 08 13:44:02 PDT 2025
Total time taken to generate the page: 0.00853 seconds