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..?

조회 수: 1 (최근 30일)
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
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')

카테고리

Help CenterFile Exchange에서 Directed Graphs에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by