How can I convert the y-axis values to percentage from (0%-100%)?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
How can I convert the below y-axis values to percentage from (0%-100%)?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/567259/image.jpeg)
Kindly help.
Thank you!
Respuesta aceptada
VBBV
el 30 de Mzo. de 2021
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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Contour Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!