MATLAB Answers

How can i get contour plot like this?

2 views (last 30 days)
Le Xuan Thang
Le Xuan Thang on 12 May 2020
Commented: Le Xuan Thang on 15 May 2020
hi member!
how can i get picture like this in matlab?


Sign in to comment.

Accepted Answer

Peng Li
Peng Li on 12 May 2020


Le Xuan Thang
Le Xuan Thang on 14 May 2020
can you show me an example? plz. Color, pic, something like this
Peng Li
Peng Li on 15 May 2020
there are a couple of examples there already if you check more.
Z = peaks;
[M, c] = contourf(Z);
c.LineWidth = 3;

Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!