[Scilab-users] save and load
anna28
parravicini.anna at gmail.com
Tue Apr 20 13:09:04 CEST 2021
Hello,
I'm looking for a help in using "save" and "load" functions.
Briefly (here below the full code), I create a plot, then I change x-axis
ticks locations and labels.
I save the figure with "save("foo6.scg", "a")".
When I use "load("foo6.scg", "a")", the figure is shown correctly except
that x-axis ticks are missing at all.
Is there any way to save the x-axis ticks, too?
thanks in advance,
anna
***
scf();
f=gcf;
f.figure_position=[10,10]
f.figure_size=[1000,700]
clf;
title(plane+" mean POSITIONS - ccode "+ccEn+" - particle "+particle,
'fontsize',4);
xsetech([0,0,1,0.95]);
for j=1:size(puName,'c')
plot(loc(:),orbitMean(:,j),mark(j),'thickness',2);
// usando 'loc' come asse x, plotta le misure distanziate correttamente
nel tempo
end
xgrid(33);
xlabel('measurement date [yyyymmdd_hh]','fontsize',3);
ylabel(posRange+" position [mm]",'fontsize',3);
legend(puNames_and_stat(:),-4);
a=gca();
a.x_ticks = tlist(["ticks" "locations", "labels"],loc(:),labels_rot(:));
a.font_size=3;
save("foo6.scg", "a");
--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
More information about the users
mailing list