Inverse Y axis with negative values

4 次查看(过去 30 天)
Anuradha
Anuradha 2016-8-3
评论: dpb 2016-8-3
Hello, I would like to plot 3 negative values with the plot in the vertical direction and not inverted. I figured out the command to reverse the plot set(gca,'Ydir','reverse') but the plot is misleading since the bar is shown higher for smaller values (-1.8) hence I would like to have the negative values to start and end with 0.
Could you please tell me how to do this. Thank you!
  3 个评论
Image Analyst
Image Analyst 2016-8-3
编辑:Image Analyst 2016-8-3
Can you attach a screenshot so we can see it here without saving a .fig to disk and then opening it up in MATLAB? You can type alt-PrintScreen, then go to snag.gy and paste it in, then use the green and brown frame icon to paste in the URL snaggy gives you.
dpb
dpb 2016-8-3
Or, SaveAs from file menu on figure, "Save As' a *.jpg and then paste that image. I keep an 'untitled.jpg' in my working directory simply as a repository for such exercise...
Your choice between IA's way and the above...they're just two ways to same end.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by