Matplot1 entities are badly saved in .scg or reloaded
@sgougeon)
Reported by Samuel GOUGEON (Matplot1_classique_demo.scg (1.24 MB, application/x-hdf)
Matplot1 classic demo saved in .scg from Scilab 5.5.2
BUG DESCRIPTION:
----------------
The attached .scg file is coming from the demo Graphics => Matplot => Matplot1 classic.
When loading it, the rendering is not the original one:
- The "image" is not displayed. Its area remains white
- Axes are badly graduated, as if it was a Matplot(), ticked with indices instead of with data scales.
The loaded axes has no children: gca().children is []: The Matplot children is missing.
ERROR LOG:
----------
none. Wrong rendering
HOW TO REPRODUCE THE BUG:
-------------------------
* Get the attached file or
Run the demo "Graphics => Matplot => Matplot1 classic" and saved the figure in .scg
* Load the .scg file (drag and drop it in the console, double-click on it in the file browser, etc)
gca()
* Compare the rendering with the original demo one
OTHER INFORMATION:
------------------
Same issue in Scilab 5.5.0 and Scilab 6.0.0-b2