How to make overlaped 3 rectangle fill in color RGB (255/ make white)
2 views (last 30 days)
Show older comments
xx
3 Comments
Answers (1)
KSSV
on 18 Mar 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 Comments
See Also
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!