How can I convert the y-axis values to percentage from (0%-100%)?

조회 수: 9 (최근 30일)
IMC
IMC 2021년 3월 30일
댓글: IMC 2021년 3월 30일
Hi,
How can I convert the below y-axis values to percentage from (0%-100%)?
Kindly help.
Thank you!

채택된 답변

VBBV
VBBV 2021년 3월 30일
Do you mean Z matrix values you plotted using contourf or similar function ?
In that case, you normalize the Z matrix by dividing all its values with absolute highest value in Z matrix.
Then multiply Z matrix with 100 to get Z matrix in %. Then use contourf or similar function to plot them as you did before.
From the figure y axis and x axis values are geographic coorindates which are unique.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by