[Bugzilla] [Bug 15465] Samuel GOUGEON has commented the bug

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Thu Mar 1 20:13:05 CET 2018


http://bugzilla.scilab.org/show_bug.cgi?id=15465
--------- Bug Summary -----------
Saved datatips cannot be restored correctly after reloading a diagram

---------- Changed by ------------
sgougeon at free.fr

---------- What changed ----------

--- Comment #3 from Samuel GOUGEON <sgougeon at free.fr> ---
The problem is not that data are rounded: They are not (see example below).
But that only the INDEX of the nearest flooring point is SAVED, and so then restored.
In the saved file, "data_index" is saved, instead of "data".

f = scf(0);
clf
xy = 0.5+(1:10);
plot(xy, xy, "-*")
c = gce().children;
d = datatipCreate(c,[5.3 5.3]);

xsave(TMPDIR+"/bug_15465.scg",0);
xdel(0);
xload(TMPDIR+"/bug_15465.scg",0);

d = gca().children.children.datatips
d.data

--> d.data
 ans  =
   4.5   4.5   0.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180301/bb0af817/attachment.htm>


More information about the Bugzilla mailing list