XForms: aligning positioner to xyplot

Wed, 24 Dec 1997 15:52:18 EST

To subscribers of the xforms list from "GERALD POLLACK" <GPOLLACK@BIO1.Lan.McGill.CA> :

Hi all. I'm a new xforms user, and I'm having trouble getting an
overlay positioner aligned properly to an xyplot, so that I can use
the positioner to read out the plot data. I first tried to align the
two in fdesign, but found that after building my program, the
positioner and xyplot were aligned differently than in fdesign, even
in the latter's test mode. I next tried to do the alignment by:

getting the bounds of the plotted data, using fl_get_xyplot_xbounds
and fl_get_xyplot_ybounds;
converting these bounds to screen coords with fl_xyplot_w2s;
using the screen coords to set up the positioner's geometry with

But, the positioner ended up too small; the cursor cannot be placed
over the extreme left, right, top or bottom portions of the plot.

Any suggestions?

Gerald Pollack
Dept. of Biology, McGill University,
1205 ave. Docteur Penfield,
Montreal, Quebec, Canada H3A 1B1
Phone: (514) 398-6418 Fax: (514) 398-5069
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
Xforms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/