Re: Using fixed-size data buffer with GtkPlot

Michael Noble <[email protected]> Mon, 27 Feb 2006 16:27:26 -0500
Newsgroups gmane.comp.scigraphica.gtkextra
Message-ID <[email protected]>
Hi All,

> I don't seem to be able to modify the 'testrealtime' example to use a fixed,
> rather than dynamic, buffer to store data points and pass this buffer to the
> library.  This is where my confusion comes from.

I haven't studied the GtkExtra code here, but you're describing some
sort of persistence issue in the dataset class.

As a workaround, or to at least shed more light on what's going on,
have you tried simply throwing away the previous dataset object and
gtk_plot_data_new()-ing a fresh one?  Nothing can persist through
that ... and the cost should be negligible.

Just a thought,
-- Mike


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642