Greetings,
We are currently using xforms to develop an interactive, real-time
display system for use in our testing
facilities and have run into a slight problem: The y-axis text on the
standard xy-plot widget cannot be rotated 90deg as required by our
researchers.
I have two questions regarding this: Can this be done in xforms?
(preferable)
or
I have found a free widget on the net (SciPlot) that rotates the text
but I cannot get it added to xforms as a
free object. I tried following the example in the documentation but I
keep crashing the program on the
following call:
plotWidget = XtVaCreateManagedWidget("plot",
sciplotWidgetClass, parent,
XtNheight, 250,
XtNwidth, 250,
XtNplotTitle, "Demo of Plot Widget",
XtNxLabel, "X Axis (units)",
XtNyLabel, "Y Axis (units)",
XtNchartType, XtPOLAR,
XtNdegrees, True,
NULL);
I've used fl_winget to obtain the parent window and fill in the parent
parameter above. I'm not that
familiar with X and Xt programming, so hopefully, if text rotation
can't
be done in xforms the second
widget can be used and I've missed something simple.
Thanks,
Jim Stegeman
PS- the URL for anyone interested, SciPlot is at:
http://www.ae.utexas.edu/~rwmcm/SciPlot.html
-- -------------------------------------------------------------------------------James D. Stegeman | This space for rent: NASA Glenn Research Center | Lewis Field | 21000 Brookpark Rd. MS 142-4 | Phone: 1-216-433-3389 Cleveland, Ohio 44135 | Fax: 1-216-433-8000 | e-mail: stegeman@grc.nasa.gov -------------------------------------------------------------------------------
_________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuhs.mil or see http://bob.usuhs.mil/mailserv/xforms.html XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Fri Jun 02 2000 - 09:49:07 EDT