[scilab-Users] RE: Cartesien Repere in Scilab

Mike Page Mike at Page-One.Waitrose.com
Fri May 25 10:42:11 CEST 2012


Hi Tima,

You need to change the axis default position from bottom/left to origin.

ax=gca();
ax.x_location='origin';
ax.y_location='origin';

If you type a=gca() without the semicolon, you will see a list of all the
axis parameters.  You can adjust anything you like in a similar way.

HTH,
Mike.


-----Original Message-----
From: Tima [mailto:meni.tima at hotmail.com]
Sent: 25 May 2012 09:28
To: users at lists.scilab.org
Subject: [scilab-Users] RE: Cartesien Repere in Scilab


Thanks Mike for the reply.
In fact, I did like that:
>a=[-4 -3 -2 -1 0 1 2 3 4 5 6 7];
>b=[-4 -3 -2 -1 0 1 2 3 4 5 6 7];
>plot2d(a,b,0)

but I had "-4" as origin of my Cartesian coordinates, and I want to have 0
as origin!!
Have you any idea?

Thanks,
Tima

--
View this message in context:
http://mailinglists.scilab.org/Cartesien-Repere-in-Scilab-tp4013453p4014864.
html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at
Nabble.com.

--
To unsubscribe from this mailing-list, please send an empty mail to
users-unsubscribe at lists.scilab.org
To check the archives of this mailing list, see
http://mailinglists.scilab.org/




More information about the users mailing list