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 Ansicht (letzte 30 Tage)
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

Antworten (1)

Dishant Arora
Dishant Arora am 6 Mär. 2014
use fill
X = rand(1,100);
Y = rand(1,100)+1;
fill([1:100 , fliplr(1:100)] , [X , fliplr(Y)] , 'r')

Kategorien

Mehr zu Discrete Data Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by