Re: direct graphics or object graphics ? [message #60313 is a reply to message #60172] |
Tue, 06 May 2008 13:47   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
nata writes:
> In Direct Graphics you can do that:
>
> plot, x, y, xrange=....
> for i=0, 1000 do oplot, datax[i,*], datay[i,*]
Well, you *can* do that. The real question is,
Do you *want* to!?
Have you tried it? What does it look like (other
than a mess, of course)?
> I want to the same in object graphics and I dont know what is the best
> way. I'll try to create 1000 IDLgrPlots for each 'oplot' and add this
> in the oModel object. Is this a good idea?
I'm not sure this will look a whole lot better in
object graphics, even if it worked. Why do you want
to do this in object graphics?
Creating thousands of objects in often NOT a good idea
in object graphics. But until I get my head around why in
the world someone would want to do this, I can't really
thing about how I would implement the mess. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|