how to get an isodensity plot

3 次查看(过去 30 天)
Naomi Penelope
Naomi Penelope 2021-7-8
评论: Chunru 2021-7-9
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.

回答(1 个)

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

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by