필터 지우기
필터 지우기

Axes in GUI

조회 수: 1 (최근 30일)
Ean Soo
Ean Soo 2011년 3월 20일
Hie guys, can i know how do we change the axes scale color? Like if we change at the properties table, it only appear when we run the GUI. But when we plot out the graph, the color change back to black color. So, can i know how to change it?
Regards, Ean

채택된 답변

Paulo Silva
Paulo Silva 2011년 3월 20일
%after plotting set the colors
set(gca,'XColor',[1 0 0]) %x scale in red
set(gca,'YColor',[0 1 0]) %y scale in green
You can also keep the scale colors by doing
hold all
before the first plot, be aware that this will also do other things to your axes that you might not want.
If you want to remove the scale on top and on the right
box off
  댓글 수: 1
Ean Soo
Ean Soo 2011년 3월 20일
THank you Paulo

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by