How can I make right axis off in Matlab plot?
조회 수: 20(최근 30일)
I want to show only top, bottom and left axis of my plot, by hiding right axis ? How can I do that ?can You please help me? I tried the codes below one of them resulted both y axis off and another gave the error!!
Simon Chan 2022년 1월 23일
Use function yyaxis and hide the right y-axis as follows:
h = figure(1);
hax = axes;