grid2 - add a grid to 2D plots

This function adds a grid to a 2D plot which can be modified.

現在この提出コンテンツをフォロー中です。

This function adds a grid to 2D plots. The grid contains out of lines which can be modified by linestyles and color information. This function expands the functionality of the normal grid implemented in MATLAB plots.

plot(rand(1,10));
set(gcf,'color',[1 1 1]);
grid2(gca,'color',[0.7 0.7 0.7],'linewidth',3);

引用

Stefan Schuberth (2026). grid2 - add a grid to 2D plots (https://jp.mathworks.com/matlabcentral/fileexchange/8758-grid2-add-a-grid-to-2d-plots), MATLAB Central File Exchange. に取得済み.

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0

Example added