Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語 - Русский

Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Matlab to Scilab Conversion Tips > Matlab-Scilab equivalents > G > grid (Matlab function)

grid (Matlab function)

Grid lines for two- and three-dimensional plots

Matlab/Scilab equivalent

Matlab Scilab
No equivalent

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 on

may be replaced by set(gca(),"grid",[1 1])

grid off

may be replaced by set(gca(),"auto_clear",[-1 -1])

grid minor

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


can be emuled in Scilab by mtlb_hold


may be replaced by axes_handle.grid=[1 1]


may be replaced by axes_handle.grid=[-1 -1]


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


can be emuled in Scilab by mtlb_hold(axes_handle)

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Apr 02 17:36:24 CEST 2013