필터 지우기
필터 지우기

Hiding x and y axes, but leaving top and right axes visible?

조회 수: 1 (최근 30일)
Erik J
Erik J 2018년 10월 9일
댓글: Erik J 2018년 10월 10일
I have a plot and I want to leave the top and right axes but hide the traditional x and y axes. I cannot figure out a way to do this. Any ideas? Thank you!

채택된 답변

Kevin Chng
Kevin Chng 2018년 10월 9일
Hi Erik,
plot([0 1],[0 1])
set(gca,'XAxisLocation','top','YAxisLocation','right');
Is this what you want?

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by