Can you give us any hints? I tried findobj() but can't make progress!
You are on the right track with findobj(). The trick is what the call to "legend" does to the objects that make the solution very simple.
213 Solvers
The Hitchhiker's Guide to MATLAB
2880 Solvers
Numbers with prime factors 2, 3 and 5.
173 Solvers
58 Solvers
54 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!