grid2 - add a grid to 2D plots
版本 1.0.0.0 (662 字节) 作者:
Stefan Schuberth
This function adds a grid to a 2D plot which can be modified.
1.1K 次下载
更新时间
2005/10/21
无许可证
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 (2025). grid2 - add a grid to 2D plots (https://ww2.mathworks.cn/matlabcentral/fileexchange/8758-grid2-add-a-grid-to-2d-plots), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R14SP2
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > Labels and Styling > Labels and Annotations > Annotations >
- MATLAB > Graphics > Labels and Styling > Axes Appearance > Limits, Ticks, and Grids > Grid Lines, Tick Values, and Labels >
在 Help Center 和 MATLAB Answers 中查找有关 Annotations 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | Example added |