[Scilab-users] ticks_mark property in Scilab 6.0.1

Patrice MEGRET Patrice.MEGRET at umons.ac.be
Tue Jan 8 09:11:10 CET 2019


Dear all,

Since Scilab 6.0.1 the ticks_mark property seems to be broken: the following code works as expected in Scilab 5.5.2 but does not display the formatted ticks in Scilab 6.0.1.


// test of ticks_format property

// PM 2019-01-08



x = [0:%pi/100:2*%pi]

plot2d(x,sin(x))

xgrid



af=gca()

// ticks_format ok, in Scilab 5.5.2 and broken in Scilab 6.0.1

af.ticks_format = ["%.1e","%.2f","%.1f"]  //x-axis in exp notation with 1 decimal place and y-axis with 2 decimal places


There is a bug 14790 reported Scilab's Bug Tracker.

For publication it is generally vital to have a specified number of decimal places on the axes.
So, will this be be solved in the next release or is there a clue to get the good behavior without using ticks_format?

Thanks a lot.

Patrice MEGRET
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20190108/2a6f643e/attachment.htm>


More information about the users mailing list