Patch - how to choose colors
Mostra commenti meno recenti
Hey,
I'm having trouble getting a hold on Patch. I have this code:
xFit = logspace(4,8,1000);
yPredict = predint(fitresult,xFit,0.683,'functional','off');
x=[xFit;xFit];
y=[yPredict(:,1)';yPredict(:,2)'];
patch(x,y,1,'FaceColor','r')
I want it to create a filled area that is transparent red, but I can't even get it to be red... it's always black. I went over the documentation and didn't manage to do it myself... any help?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Polygons 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!