Shade area between two curves
版本 1.1.0.0 (1.7 KB) 作者:
John Bockstege
Function shades the area between two vectors.
This routine will shade the area of a 2-D plot between two user defined vectors. Simply pass the two vectors, and their corresponding horizontal coordinates, select your fill color and transparency level and viola! You have a figure that is colored in between the two input vectors.
引用格式
John Bockstege (2024). Shade area between two curves (https://www.mathworks.com/matlabcentral/fileexchange/13188-shade-area-between-two-curves), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2006b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Interpolation 的更多信息
标签
致谢
启发作品: anomaly, Simpsons Rule Demonstration, gtfill(x,y1,y2,n,c1,c2), fill_between, SMA, MACD, RSI (SMR) Trading Algorithm, h-coefficient
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!