How to make overlaped 3 rectangle fill in color RGB (255/ make white)
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
xx
3 Kommentare
Antworten (1)
KSSV
am 18 Mär. 2019
R = [0 0 ; 1 0 ; 1 1 ; 0 1] ;
figure
hold on
patch(R(:,1),R(:,2),'r')
patch(R(:,1)+rand,R(:,2)+rand,'b')
patch(R(:,1)+rand,R(:,2)+rand,'g')
2 Kommentare
Siehe auch
Kategorien
Mehr zu Line Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!