default axes settings
Alexander Bluem
A.Bluem at fhtw-berlin.de
Sun Feb 8 21:16:49 CET 2009
hello all,
I'd really like to set the default properties of some following plots
in a script, like :
mark_mode="on"
mark_size_unit="point"
mark_size=4
box="off"
but when I define these settings using a=gda(), and accessing the axis
seetings through "a", still no marks are being plotted... :(
I do not want to set each setting with gca() everytime. I believe that
this is what gda() was for in the first place. of course I would reset
these settings back with sda().
here is my example:
==================================
xdel(0)
x=[0:0.1:2*%pi];
set old_style off
a=get("default_axes"); // get the handle of the model axes
a.box="on";
a.x_location="middle";
a.y_location="middle";
a.mark_mode="on";
a.mark_size_unit="point";
a.mark_size=8;
plot2d(x-2,sin(x))
sda();
==================================
I noticed that all settings are being honoured, while the
marks are not. Any ideas?
btw: I use ScicosLab-4.3 (ScicosLab is a Gtk+ version of Scilab, based
on the official Scilab BUILD4 distribution) on a debian linux.
thanks in advance.
alex
More information about the users
mailing list