Contour Overlay

版本 1.0.1 (1.7 KB) 作者: Mirko Hrovat
Countour OVERLAY - Overlays any figure with contour lines that can be generated from the same or a different data set.
61.0 次下载
更新时间 2020/4/11

查看许可证

A simple program to overlay any figure with contour lines from the same or different data set as defined by the ContourMatrix, (see contourc). This allows information from two different images to be combined in one image.
Syntax:
coverlay(cm) - overlay current figure with contours defined by cm.
coverlay(cm,figh) - overlay figure pointed by figh with contours.
coverlay(...,LineSpec) - draws contours with line type and color as specified by LineSpec.
coverlay(...,Name,Value) - specify contour properties using one or more
property name, property value pairs, see Contour properties.

Typical usages is as follows:
cm = contourc(x,y,Z,n); - generate ContourMatrix
figh = imagesc(x,y,ZZ) or any other command that generates an image
ZZ may be a different matrix but with the same domain, x,y.
coverlay(cm,figh) - overlay the figure with contours.
clabel(cm,figh) - label the contours if desired.

Note:
It is important for the image domain to match the contours domain.
For example use the same X & Y vectors to specify both domains.

引用格式

Mirko Hrovat (2024). Contour Overlay (https://www.mathworks.com/matlabcentral/fileexchange/74961-contour-overlay), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.1

updated picture

1.0.0