Hello, First please load the attached data file 'test.dat'. Then run the below script. In the script, x has values from 0.091 to 0.15. I want to set % expression. Before 'pause', the graph display x ticks with the values from 0.091 to 0.15 rightly. But after 'resume' command to continue the run, 0.15(15%) disappear. I want to keep 15%. Please teach me how to do. test.dat <http://mailinglists.scilab.org/file/n4032877/test.dat> Best regards.
***** X_V=[min(x),max(x)]; scf plot2d(x,y',[color('green'),color('blue'),color('red')]); ax=get('current_axes'); ax.data_bounds(:,1)=[X_V]'; ax.tight_limits='on'; pause //set x % xt=ax.x_ticks; for i=1:size(xt.locations,1) xtLabels_V(i)=msprintf('%.'+string(0)+'f%%\n',xt.locations(i)*100) end xt.labels=xtLabels_V ax.x_ticks=xt; -- View this message in context: http://mailinglists.scilab.org/Change-display-x-axis-as-tp4032877.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users