zhanghouxing的个人博客分享 http://blog.sciencenet.cn/u/zhanghouxing

博文

径流模拟结果校准和验证图(matlab)

已有 4519 次阅读 2014-7-26 17:53 |系统分类:科研笔记| MATLAB, 模型, figure

   应用水文模型相关的研究,一个重要的过程就是对模型进行校准和验证,最后将校准和验证结果表示在一张图上。这里将作图的matlab代码贴上供大家分享:

%%%%%%%%%%%%%%%%%%%%%code for hydrological model's calibration and validation

plot(yingluoxia, 'DisplayName', 'yingluoxia', 'YDataSource', 'yingluoxia'); figure(gcf)

ax1=gca;

box off;

ax2=axes('Position',get(ax1,'Position'),...

'XAxisLocation','top',...

'YAxisLocation','right',...

'Color','none',...

'XColor','k','YColor','k','XTickLabel',[]); box off;

hold on;

bar(yingluoxia(1:240,3),'DisplayName','yingluoxia(1:240,3)');figure(gcf)

set(gca,'ydir','reverse','xaxislocation','top')

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

注:这个代码能做出粗略图,具体还需要matlab的图片edit进行修改,以我自己的研究为例,结果如下:






https://wap.sciencenet.cn/blog-922140-814887.html

上一篇:arcgis小问题
下一篇:水资源研究的sci期刊介绍
收藏 IP: 210.77.68.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-6-17 22:47

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部