The dimension of the input vector in the imagesc function
Show older comments
I used the sample data in the attachment and got the result of Figure 1 when using the imagesc function, but I expected the result to be Figure 2.
(Note: XData, YData, and C in the imagesc () function correspond to the first, second, and third columns in the sample data, respectively.)
I want to ask how the dimensions of the matrix should be adjusted to be similar to the result in Figure 2. Thank you.
figure1

figure 2

4 Comments
Geoff Hayes
on 1 May 2020
sun - do you have enough data so that you can get the second image? Your sample data file only has 22 rows...
Geoff Hayes
on 1 May 2020
So the colours we see in the second image represent the speed at that coordinate?
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!