how to get an isodensity plot

3 views (last 30 days)
Naomi Penelope
Naomi Penelope on 8 Jul 2021
Commented: Chunru on 9 Jul 2021
how can i get an isodensity plot from an image? the first image is the one I am given. the other two is how i want it to look like.

Answers (1)

Chunru
Chunru on 9 Jul 2021
[x,y,z] = peaks(25); % Use your data
contourf(x,y,z)
  2 Comments
Naomi Penelope
Naomi Penelope on 9 Jul 2021
how can i call the txt file into the contourf?
Chunru
Chunru on 9 Jul 2021
Read the document of importing data. 'doc textscan' for info.

Sign in to comment.

Categories

Find more on Denoising and Compression in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!