how to get an isodensity plot

2 vues (au cours des 30 derniers jours)
Naomi Penelope
Naomi Penelope le 8 Juil 2021
Commenté : Chunru le 9 Juil 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.

Réponses (1)

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

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by