how to get an isodensity plot

3 visualizzazioni (ultimi 30 giorni)
Naomi Penelope
Naomi Penelope il 8 Lug 2021
Commentato: Chunru il 9 Lug 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.

Risposte (1)

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

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by