plot filled rectangle and appear on legend
Show older comments
Hi,
I'd like to have something like that

I know that I can use rectangle function, but then it is not appearing on a legend.
Any suggestions how to solve the issue?
Accepted Answer
More Answers (0)
Categories
Find more on Legend 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!