필터 지우기
필터 지우기

How to extract values from plot?

조회 수: 1 (최근 30일)
Lu Da Silva
Lu Da Silva 2021년 3월 1일
댓글: dpb 2021년 3월 1일
I created two plots using the fnplt function. One plot represents the chord length (c) over the radial position, the other the thickness (t) over the radial position (-> they both have the same x-axis).
I need to calculate the spar height h = c*t and plot h against the radial position.
How can I extract the c and t values at specific x-axis values (e.g. x=10, x=20, x=30)? Or perhaps an interpolation would make more sense in order to get a smoother graph?
Thanks in advance!
  댓글 수: 3
Lu Da Silva
Lu Da Silva 2021년 3월 1일
That doesn't answer my question.... I'd like to have the y-values for specific x-values.
dpb
dpb 2021년 3월 1일
interp1

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by