[scilab-Users] default axes settings - in SCILAB

Alexander Bluem A.Bluem at fhtw-berlin.de
Mon Feb 9 00:13:30 CET 2009


ok, I now tried it also with scilab 4.1.2 and the problem persists,
just as i thought. The version I tried it with scilab 4.1.2 on win32.

a thought accurred to me: maybe I am trying the wrong thing... is there
maybe another way to set the marks for each plotted vector?

any help is appreciated.


Am So, 8.02.2009, 21:16, schrieb Alexander Bluem:
> 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