How to combine two plots into one

5 ビュー (過去 30 日間)
SS
SS 2019 年 8 月 24 日
コメント済み: Star Strider 2019 年 8 月 26 日
I am using MATLAB R2018 b. I have two plots with same x but, the limits of y axes are different. Both plots has a line and some data points (different color of the line and shape of the markers). These two plots are output from two different scripts. I want to combine these two plots to compare my results.
I am unable to use the dock figure option which was suggested for one such similar questions in the community.
Any help would be appreciated.

採用された回答

Star Strider
Star Strider 2019 年 8 月 24 日
Plot both data series on the same axes either in the same plot call, or use the hold function with two plot calls.
  14 件のコメント
SS
SS 2019 年 8 月 26 日
Thanks.
Star Strider
Star Strider 2019 年 8 月 26 日
As always, my pleasure.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by