How to make Xaxis (y=0) black in grid
이전 댓글 표시
I have a plot with grid and I would like to have just the Xaxis, y=0, darker so that it is more evident in the graph. How can I do it?
Many thanks
채택된 답변
추가 답변 (1개)
Dishant Arora
2014년 8월 18일
You can change axis color by changing the xcolor or ycolor property of axis:
h = gca;
set(h , 'ycolor' , [1,1,1]);
set(h , 'ygrid' , 'on'); % Set only Y - Grids to property on, you'll not see X - Grid
카테고리
도움말 센터 및 File Exchange에서 Labels and Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!