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

博文

土壤湿度等值线Contourf

已有 3482 次阅读 2016-5-28 20:30 |个人分类:论文写作|系统分类:科研笔记| 土壤湿度, 等值线, Contourf

contourf 

Filled two-dimensional contour plot

Syntax

  • contourf(Z) contourf(Z,n) contourf(Z,v) contourf(X,Y,Z) contourf(X,Y,Z,n) contourf(X,Y,Z,v) [C,h,CF] = contourf(...)

Description

A filled contour plot displays isolines calculated from matrix Z and fills the areas between the isolines using constant colors. The color of the filled areas depends on the current figure's colormap.

contourf(Z) draws a contour plot of matrix Z, where Z is interpreted as heights with respect to a plane. Z must be at least a 2-by-2 matrix. The number of contour lines and the values of the contour lines are chosen automatically.

contourf(Z,n) draws a contour plot of matrix Z with n contour levels.

contourf(Z,v) draws a contour plot of matrix Z with contour levels at the values specified in vector v.

contourf(X,Y,Z), contourf(X,Y,Z,n), and contourf(X,Y,Z,v) produce contour plots of Z using X and Y to determine the x- and y-axis limits. When X and Y are matrices, they must be the same size as Z, in which case they specify a surface as surf does.

[C,h,CF] = contourf(...) returns the contour matrix C as calculated by the function contourc and used by clabel, a vector of handles h to patch graphics objects, and a contour matrix CF for the filled areas.

Remarks

If X or Y is irregularly spaced, contourf calculates contours using a regularly spaced contour grid, then transforms the data to X or Y.

Examples

Create a filled contour plot of the peaks function.

  • [C,h] = contourf(peaks(20),10); colormap autumn

See Also

clabel, contour, contour3, contourc, quiver

Contour Plots for related functions



土壤湿度等值线



https://wap.sciencenet.cn/blog-2637373-980892.html

上一篇:气象大数据可视化
下一篇:泰勒图 Taylor Diagrams
收藏 IP: 117.140.192.*| 热度|

0

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

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

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

GMT+8, 2024-5-9 09:32

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部