fill a range with specified color
Mostra commenti meno recenti
Hi all!
i have these vectors:
%A=[1:5]
%b=[2 2 2 2 2]
%c=[4 4 4 4 4]
plot(A,b,A,c)
how could i plot the the Range (area) between (2 and 4) with a speciefied color for exemple red?
Risposte (1)
Jos (10584)
il 25 Mar 2014
fill([A A],[b c],'r')
help fill
4 Commenti
Rica
il 25 Mar 2014
Jos (10584)
il 25 Mar 2014
why not / what is the problem/error you encounter?
Rica
il 26 Mar 2014
Rica
il 26 Mar 2014
Categorie
Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!