[Scilab-users] How to define the Y Range of plot
Stefan Du Rietz
sdr at durietz.se
Sat Aug 8 12:55:01 CEST 2020
Sorry for a wrong letter in my previous mail!
Hello Fukashiimo,
1. get the handle of your axes:
--> cafix = gca();
2. set the properties:
--> cafix.tight_limits="on";
--> cafix.auto_scale="off";
--> cafix.data_bounds = [-0.5,-2;0.5,2];
Regards
Stefan
On 2020-08-08 12:15, Fukashiimo wrote:
> Hello, Mr. Stefan,
>
> Thanks. Could you please tell me how to se it?
> I tried the following code. My intention is to define X: from -0.5 to +0,5
> and Y from -2 to +2.
> However, plot command didn't work as I expected. Any idea?
>
> cafix.data_bounds = [-0.5,-2;0.5,2];
> cafix.tight_limits="on";
> cafix.auto_scale="off";
> set(gca(),"data_bounds", cafix.data_bounds);
>
>
> Thanks
>
>
>
> --
> Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
More information about the users
mailing list