How to adjust the Grid size
조회 수: 99 (최근 30일)
이전 댓글 표시
hiii I need some help regarding the grid function. By using "Grid on" we get the grid of certain size. I want to change the size of the squares in the grid. In a 1200x1200 figure i want to have a grid whose squares are of side say 300. Also is it possible to do manipulations in a particular square of the grid eg a for loop which works only inside the square. thanks.
댓글 수: 0
채택된 답변
Grzegorz Knor
2012년 3월 9일
Analyze this code:
plot(1:10000)
grid on
pause
set(gca,'XMinorTick','on')
grid minor
pause
set(gca,'Xtick',0:2000:10000)
grid off
grid on
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!