Plot a 2D matrix using a color plot

15 views (last 30 days)
T.C.
T.C. on 21 Apr 2024
Answered: T.C. on 21 Apr 2024
I have a 3D matrix where the i spans an angle , the j spans a value for a radius r and the k spans a set of times. The value in the entry is a positive number. What I would like to do is to plot, for each k, a 2D colored map of the matrix such that in the point of coordinates () it plots a color depending on the value of . In particular if I would like a specific color, say green, while the more approaches 0 I would like another color to be plotted, say blue, and red if becomes larger than 1.

Accepted Answer

T.C.
T.C. on 21 Apr 2024

More Answers (0)

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!