Skip to content

grid

Plot grids

grid

  • Toggling grid on / off.

grid('on')

  • Turning grid on.
  • Command syntax, e.g., grid on, is not supported.

grid('off')

  • Turning grid off.
  • Command syntax, e.g., grid on, is not supported.

Discussions

  • Running hold() and then plot(), or hold() and then surf(), may reset the grids:
Statements Line Plot Being Shown Surface Plot Being Shown
hold('off'), plot(...) Show grids Show grids
hold('off'), surf(...) Show grids Show grids
hold('on'), plot(...) Remain unchanged Show grids
hold('on'), surf(...) Show grids Remain unchanged