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

Home » Public Forums » archive » Re: Object graphic 3d Scatterplot
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: Object graphic 3d Scatterplot [message #19439] Mon, 27 March 2000 00:00 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Ben Tupper" <tupper@seadas.bigelow.org> wrote in message
news:38D90B6F.8F9377D7@seadas.bigelow.org...
> Martin Schultz wrote:
>
>> just an unsolicited question: wouldn't this be a good example for a new
>> subclass of IDLgrPlot? You could extend the object definition by a new
>> property (a pointer to an array DataClass for example) modify the
>> SetProperty and GetProperty methods to allow changing/retrieving the
>> DataClass values and change the Show (or whatever) method to use the
>> DataClass values as a color coding for example. In pseudo code this
>> would be something like:
>
> It sounds like a good idea... but way over my head. I wonder if Mark
> Hadfield's MGHgrGraph already handles kind of a thing?

Some of the stuff I put in MGHgrGraph is way over my head too! But no, it
doesn't do anything like what Martin is suggesting. An MGHgrGraph is a form
of IDLgrView, and its methods are mostly concerned with fitting new graphics
atoms into a view: putting them in the right model, associating them with
axes, setting the scaling, applying fonts etc.

I've been following this thread with interest, but not very closely, and
don't have much to add, only to note that I have experimented with
subclassing graphics atoms' Draw methods and found that you can make an atom
look like anything you want. E.g. class MGHgrGLaxis

http://katipo.niwa.cri.nz/~hadfield/gust/software/idl/mghgrg laxis__define.pr
o

which hides an axis's labels on each Draw and substitutes its own.

It would be easy, for example, to create a symbol object that appeared in a
different colour every time it was drawn. However the problem in applying
this to the present problem is that this "smart symbol" would have to know
which data point it is associated with on each Draw, and I don't think there
would be any way of passing this information to it.

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: linear programming
Next Topic: Re: multiplication

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

Current Time: Wed Oct 08 19:22:11 PDT 2025

Total time taken to generate the page: 0.00427 seconds