XForms: XYPlot and double point vectors?

From: Reed Riddle (drriddle@qwest.net)
Date: Mon Mar 11 2002 - 20:35:28 EST


# To subscribers of the xforms list from "Reed Riddle" <drriddle@qwest.net> :

Hi,

I'm doing some calculations that will require double point
precision, and will be plotting the result. Right now, I can't use
doubles in the plot, and Xforms complains if I don't put floats in
the call to fl_set_xyplot_data(). I'm dumping the plot to a
temporary float vector and then plotting that, which works for
now...but, in the future, I will be modifying the plot and would
like the results to be updated live. I haven't played with it yet
to see if I have to change my ersatz vector to get changes to the
real one to show up, but I'm guessing that I will (in other words:
do calculation, copy result to temp vector, replot temp
vector/refresh xyplot).

If anyone has advice on a better/smarter way to do this, I would
appreciate it! You can also tell me if I'm doing something
stupid. :) Thanks!

                                        Reed

----------------------------------------------------------------------
Dr. Reed L. Riddle
Assistant Director of Whole Earth Telescope Operations
Iowa State University Department of Physics & Astronomy
Email: drriddle@qwest.net
Homepage: http://www.iitap.iastate.edu/~riddle/

"This life has been a test. If it had been an actual life, you would
  have received actual instructions on where to go and what to do."
                                 -- Angela Chase, "My so-called life"

_________________________________________________
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 : Wed May 01 2002 - 13:54:16 EDT