How can I add y labels on both axis of matlab plot

조회 수: 2 (최근 30일)
Ede gerlderlands
Ede gerlderlands 2013년 2월 28일
I have a plot which is already plotted by some one else. It has ylabel on the right side and I want to show the same labels on the left side also . Secondly, this plot contains deep black shaded part can I change it to hatched graph? can anyone help me with this two?
Thank you

답변 (1개)

Image Analyst
Image Analyst 2013년 2월 28일
You can use findobj() to try to find the handle of the control that is the label someone stuck on the right side of the plot. Then use get() to extract its 'String' property and then use ylabel() to put that string on the (normal) left side of the plot.
  댓글 수: 2
Ede gerlderlands
Ede gerlderlands 2013년 2월 28일
I tried that but I couldn't get the handle of the control...
Image Analyst
Image Analyst 2013년 3월 1일
It's got to be there. Maybe try setting visibility of them "off" one by one until you identify the one you want.

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

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by