How can I add y labels on both axis of matlab plot
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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 个评论
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 Center 和 File Exchange 中查找有关 Graphics Object Properties 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!