lijinying
binscatter

绘制密度散点图
binscatter(x,y,N)    % x 与 y 为需要对比的两个向量,通常是预测值和真实值。N为绘图分辨率,当N为100时,绘图区域分辨率为100*100。
binscatter(trans_Matlab(:),trans_cshape(:),100);
colormap(gca,\'jet\')     % 默认颜色序列展示度不高,建议绘图时指定合适的颜色序列

结果如图所示:

 

参考资料:

https://ww2.mathworks.cn/help/matlab/ref/binscatter.html?searchHighlight=binscatter&s_tid=srchtitle

分类:

技术点:

相关文章:

  • 2021-12-14
  • 2021-11-29
  • 2021-05-01
  • 2021-09-25
  • 2021-12-08
猜你喜欢
  • 2021-04-12
  • 2021-12-14
  • 2021-12-14
  • 2021-11-16
  • 2021-11-17
  • 2021-12-02
相关资源
相似解决方案