Enables the custom setting of the position of an axes grid lines on a 2D plot. Grid lines can be arbitrary placed on figure axes with customisable colour, width, line styles and alpha. The user can also supply a set of X and Y points to define their own grid lines, e.g. at 45 degrees or curved grids.
To enable alpha blending of the lines in order to mimic Matlab's grid function the lines are drawn as the edges of patches using Brett Shoelson's patchline function. This was released for Matlab 2012 and providing this works, there is no reason this function should not work in earlier versions of Matlab.
인용 양식
Phil (2024). customGrid (https://www.mathworks.com/matlabcentral/fileexchange/48709-customgrid), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance > Limits, Ticks, and Grids > Grid Lines, Tick Values, and Labels >
태그
도움
도움 받은 파일: Patchline
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!html/
버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.2.0.0 | Now works with older versions of Matlab since I removed the dependency on the new graphics handle classes. |
||
1.1.0.0 | Updated description |
|
|
1.0.0.0 |
|