Re: Interactions between datasets on a single plot?
Michael Noble <[email protected]> Wed, 13 Apr 2005 22:49:59 -0400
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Message-ID | <[email protected]> |
> The most common problem shows up as the plot for one dataset going > away when I add a second dataset to the plot and then do a > canvas_paint() to get everything on the screen. I know this isn't much > to go on yet, but it's all I've got at this point. One dataset is fine, > when I add the second and call canvas_paint() the first one will > sometimes disappear. If I recall correctly, adding a dataset to a plot performs only a shallow copy, so it's up to the application to ensure that the plot data persists as long as it's needed. Given the non-determinism of the disappearing (i.e. sometimes, but not always) this may be a place to start looking for the problem ... e.g., are you accidently freeing the first dataset somewhere? HTH, Mike ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click