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 #19478 is a reply to message #19459] Wed, 22 March 2000 00:00 Go to previous messageGo to previous message
Ben Tupper is currently offline  Ben Tupper
Messages: 186
Registered: August 1999
Senior Member
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:
>
> ClassgrPlot::Overplot,Data
>
> ; get all DataClass values and loop using them as colors
> uclass = uclass(uniq(*self.DataClass,sort(self.DataClass)))
> for i=0L,n_elements(uclass)-1 do begin
> ; define a suitable color or symbol/property object
> color = i
> w = where(self.DataClass eq uclass[i])
> inherited->Overplot,self.Data[w],color=color
> endfor
> end
>
>

Hello,

It sounds like a good idea... but waaay over my head. I wonder if Mark
Hadfield's MGHgrGraph already handles kind of a thing?

Ben


--
Ben Tupper

Bigelow Laboratory for Ocean Science
tupper@seadas.bigelow.org

pemaquidriver@tidewater.net
[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: Fri Oct 10 01:01:10 PDT 2025

Total time taken to generate the page: 0.95696 seconds