How to limit the contour plot to specific points?

11 次查看(过去 30 天)
How could I plot contour until the toppest scatter points?

采纳的回答

Star Strider
Star Strider 2018-10-30
See the documentation on Contours at One Level (link) in the contour (link) documentation.
  4 个评论
Philippe Corner
Philippe Corner 2018-10-30
Not sure why is not working. I had to create my contour using a matrix
[c,h]=contourf(xq,yq,reshape(zq,100,100));
Star Strider
Star Strider 2018-10-30
I cannot determine the reason it is not working without your data and code. The first two arguments can be vectors or matrices, the third must be a matrix. The dimensions must match in any event.
Apparently your reshape call solved the problem.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by