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..?
    2 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
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
0 commentaires
Réponses (1)
  Dishant Arora
      
 le 6 Mar 2014
        use fill
X = rand(1,100);
Y = rand(1,100)+1;
fill([1:100 , fliplr(1:100)] , [X , fliplr(Y)] , 'r')
0 commentaires
Voir également
Catégories
				En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

