matlab 中contour函数怎么用

来源:百度知道 编辑:UC知道 时间:2024/06/03 21:08:56
相对一个2D实数矩阵的数画等值线图,有没有好的方法啊?Matlab程序,谢谢

没有x、y网格的话
直接contour(A)
有的话
[X.Y]=meshgrid(x,y);
contour(X,Y,A)

不过说老实话,matlab画等值线挺丑的

  So,”hesaidpleasantly,“itwasamerecas
  
  eoftendollarsortendays.Ithoughtyou
  
  hadbeenstabbed—”“Iwasnotintoxi
  
  cated,”Ireplied,serenelypicking
  
  upabitofcelery.