- Scilab Help
- Graphics
- 2d_plot
- 3d_plot
- annotation
- axes_operations
- axis
- bar_histogram
- Color management
- Datatips
- figure_operations
- geometric_shapes
- handle
- interaction
- lighting
- load_save
- pie
- polygon
- property
- text
- transform
- window_control
- GlobalProperty
- Graphics: Getting started
- Compound properties
- Graphics Entities
- object editor
- pixel_drawing_mode
- Segments properties
- twinkle
- xchange
- xclear
- xdel
- xget
- xgetech
- xgraduate
- xgrid
- xname
- xnumb
- xpause
- xsegs
- xset
- xsetech
- xsetm
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
xgrid
add a grid on a 2D or 3D plot
Calling Sequence
xgrid([color] [, thickness] [, style])
Arguments
- color
an integer or a row matrix.
- thickness
a real or a row matrix.
- style
an integer or a row matrix.
Description
xgrid
adds a grid on a 2D or 3D plot.
d for each axis).
color
is the colors id to use for the grid plotting (if color
is a scalar then the same color is used for each axis).
thickness
is the thickness to use for the grid plotting (if thickness
is a scalar then the same thickness is used for each axis).
style
is the style to use for the grid plotting (if style
is a scalar then the same style is used for each axis). Available styles are the same as for line_style
property (see axes_properties).
See Also
- axes_properties — description of the axes entity properties
- plot2d — 2D plot
History
Version | Description |
5.5.0 | Arguments thickness and style introduced. |
Report an issue | ||
<< xgraduate | Graphics | xname >> |