Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: itools (mou...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 5505 of 6454
Post > Topic >>

Re: itools (mouse) events

by sjwelch <samjwelch@[EMAIL PROTECTED] > Mar 12, 2008 at 10:13 PM

On Mar 5, 5:11 pm, Michael Galloy <mgal...@[EMAIL PROTECTED]
> wrote:
> sjwelch wrote:
> > I'm using iplot to construct a 2D scatter plot. What I want to do is
> > register a listener of some sort for mouse events such that when the
> > user clicks on a point in the plot, the coordinates of that point are
> > returned.
>
> > I've just spent an hour or so pouring through theitoolscode, looking
> > at the messaging system and I just can't (quickly at least) figure out
> > where to start. To which component do I add the observer (tool,
> > dataspace, view, plot)? Do I need to register my observer class
> > somewhere? I know there are a few readers withitoolscoding
> > experience, any ideas?
>
> > My experience is that it's very easy to get new stuff intoitools
> > (inserting visualisations, etc) I hoped it would be as easy to get
> > stuff out, and it probably is if you know how.
>
> You want to write manipulator. Check out the "Creating a Manipulator"
> section in the Contents > Programmer's Guides >iToolsProgramming in
> the IDL help.
>
> http://idlastro.gsfc.nasa.gov/idl_html_help/Creating_a_Manipulator.html
>
> I would recommend trying the example manipulator in the manual, the
> color table manipulator. I would say this is one of the trickier parts
> of the do***entediToolsinterface (and let's hope you can do what you
> want with the do***ented interface).
>
> Mike
> --www.michaelgalloy.com
> Tech-X Cor****ation
> Software Developer II

Thanks Mike,

That was exactly what I needed! Got it doing what I wanted, much
appreciated.
 




 3 Posts in Topic:
itools (mouse) events
sjwelch <samjwelch@[EM  2008-03-04 16:16:46 
Re: itools (mouse) events
Michael Galloy <mgallo  2008-03-04 23:11:21 
Re: itools (mouse) events
sjwelch <samjwelch@[EM  2008-03-12 22:13:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 14:07:39 CST 2008.