On 2007-09-03 11:33-0400 Hazen Babcock wrote:

> Er, well, I actually didn't have any real plans for further xcairo 
> interactivity. Suggestions however are welcome.

I was referring to the extensive thread we had before about this subject
where I believe you concluded that the ability (shown in example 1 if you
use the -locate option) of -dev xwin and -dev tk to deliver back the key
that was struck as well as the world coordinates of the cursor when that key
was struck should be implemented for -dev xcairo when you had a chance.

So long as a device has at least this interactive capability then PLplot
application developers could write their own command line interface using
such devices. For example, there was a very nice CLI I used in the early
90's for analyzing stellar spectra, and I think I still have access to the
source code for that.  I recall there were something like 30 different
commands you could run based on what key was struck and the position of the
key at the time of the key strike.  You could fit the continuum (based on
the points you clicked on), calculate equivalent widths of absorption or
emission lines, calculate line positions, calculate the dispersion relation,
etc., etc. I am tied up with a different research topic at the moment, but
at some point I hope to revive that CLI using -dev xwin (and eventually -dev
xcairo when you have implemented the interactive capability referred to
above) as the back end.

Beyond that fundamental interactive capability, there are all sorts of
things you could do to follow what is possible for the -dev tk GUI.  (Use
that device and click on the Plot button to see what is possible in terms of
zooming, scrolling, and colour palettes.) However, turning xcairo into a
full-blown GUI is a lot of work and may not be the direction you want to
take. Personally, I would be satisfied with just the limited interactive
capability that -dev xwin currently has (as compared to the extensive
interactive capability of -dev tk) since that limited capability is
sufficient to support CLI's.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to