How to stackedplot in Matlab 2016?

3 ビュー (過去 30 日間)
Arnab Pal
Arnab Pal 2021 年 1 月 6 日
回答済み: Steven Lord 2021 年 1 月 6 日
I need to plot multiple y axis with same x axis.

採用された回答

Adam Danz
Adam Danz 2021 年 1 月 6 日
編集済み: Adam Danz 2021 年 1 月 6 日
stackedplot was released in r2018b.
An alternative is stackedaxes() on the file exchange.
The image below compares stackedplot (left) to stackedaxes (right).

その他の回答 (1 件)

Steven Lord
Steven Lord 2021 年 1 月 6 日
The stackedplot function was introduced in release R2018b. If you want to use this function you will need to upgrade to release R2018b or later. For earlier releases you could get close to the functionality by using subplot to create multiple axes and plotting each variable in a different axes.

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

製品


リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by