フィルターのクリア

Help with graphing two Y-axes - how to scale the axes to each other

1 回表示 (過去 30 日間)
Aaron Burdick
Aaron Burdick 2011 年 9 月 21 日
Hi there,
I am graphing a variable against altitude and basically need to show the linear graph against pressure (one Y axis) and altitude (the other Y axis). I have a table with standardized values for pressure vs altitude. My data came in pressure units. How can I properly scale the altitude Y axis so that the pressure numbers are lining up properly with the altitude numbers?
Note: relationship b/t pressure and altitude is nonlinear.
Thank you!
Aaron

回答 (1 件)

Grzegorz Knor
Grzegorz Knor 2011 年 9 月 21 日
Maybe use plotyy function instead of scaling.
See:

カテゴリ

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