right y-axis
14 ビュー (過去 30 日間)
古いコメントを表示
I want to have a right y-axis to serve as some reference to the left y-axis. I do not actually need the x-axis data of the right y-axis. Any help will be much appreciated. Thanks.
0 件のコメント
回答 (2 件)
VBBV
2022 年 10 月 27 日
X = rand(20,1); Y = X.^2 + 4; Y1 = Y./2; plot(X,Y); yyaxis right % use this as 2nd yaxis with ref to 1st plot(X,Y1)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!