
I have to shade the area between the two curves, i have used fill function including fliplr, but no success?
    3 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Divyesh
 el 20 de Jul. de 2018
  
    
    
    
    
    Comentada: Divyesh
 el 23 de Jul. de 2018
            filename = 'H2_5_20A only.xlsx'; A = xlsread(filename); current = A(:,1); time = A(:,2); h2high = A(:,3); h2low = A(:,4); yyaxis left; plot(time,h2high,'r', time,h2low,'b');
hold on; yyaxis left; fill([time fliplr(time)], [h2low fliplr(h2high)], 'r'); hold off;
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
				Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

