Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2025.0.0 - 日本語


grid (Matlab function)

Grid lines for two- and three-dimensional plots

Matlab/Scilab equivalent

Matlab Scilab
grid on
grid off
grid(target, 'on')
grid(target, 'off')
xgrid
gca().grid =  -[1 1 1];
target.grid =  [1 1 1];
target.grid = -[1 1 1];

Particular cases

There is no minor grid in Scilab.

There is no equivalent function for Matlab grid function in Scilab but it has equivalents:

grid minor

can be emulated in Scilab by mtlb_hold but all grids are toggled

grid

can be emulated in Scilab by mtlb_hold

grid(axes_handle,"minor")

can be emulated in Scilab by mtlb_hold but all grids are toggled

grid(axes_handle)

can be emulated in Scilab by mtlb_hold(axes_handle)

Report an issue
<< graymon (Matlab function) G H >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 24 11:17:47 CEST 2024