필터 지우기
필터 지우기

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 CenterFile Exchange에서 Two y-axis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by