How to delete second y axis (plotyy) using the plot tools

8 ビュー (過去 30 日間)
cbrysch
cbrysch 2016 年 11 月 25 日
コメント済み: Adam 2016 年 11 月 25 日
Hello,
I have a figure consisting of 4 subplots. Each of these subplots is a plot with two y-axes (plotyy). However, I want to delete the second y axis using the plot tools. Unfortunately I can't find an entry for the second y-axis in the property editor, nor can I highlight the second y axis. Only the 'first' y axis appears.
Is there a way to delete the second y axis with the plot tools or do I have to extract the data from each subplot and re-plot it again?
Thanks you!

回答 (1 件)

Adam
Adam 2016 年 11 月 25 日
You can open the plot browser and this should show you two axes. You can unshow or delete from here. I am working in R2016b though. I don't know if this also works the same in earlier versions.
In R2016b yyaxes is recommended over plotyy though it still appears to work.
  2 件のコメント
cbrysch
cbrysch 2016 年 11 月 25 日
This is what I was trying to do, but unfortunately I only see the x,y,z axis and not two y axis. I am using Matlab 2015a.
Adam
Adam 2016 年 11 月 25 日
Hmm, I'm afraid I can't check that as I recently uninstalled older versions of Matlab.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeTwo y-axis についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by