I have a matrix which I'm plotting as a 2D color plot (imagesc). Normally matlab puts number of points as x and y. I would like to use first row and first column data as x and y. How to do it?

1 view (last 30 days)
I have a matrix which I'm plotting as a 2D color plot (imagesc). Normally matlab puts number of points as x and y. I would like to use first row and first column data as x and y. How to do it?

Answers (0)

Community Treasure Hunt

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

Start Hunting!