i plotted two graphs just one above the other using "hold all' ,can i shade the region between these two graph and remaining lower region..?
古いコメントを表示
i plotted age & depth ,two graph of varying depth but same age, the graph appers one above other with a space , i want to shade this space
回答 (1 件)
Dishant Arora
2014 年 3 月 6 日
use fill
X = rand(1,100);
Y = rand(1,100)+1;
fill([1:100 , fliplr(1:100)] , [X , fliplr(Y)] , 'r')
カテゴリ
ヘルプ センター および File Exchange で Graph and Network Algorithms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!