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.
Renaming a field in a structure array
737 Solvers
Determine if a Given Number is a Triangle Number
324 Solvers
Pythagorean perfect squares: find the square of the hypotenuse and the length of the other side
42 Solvers
208 Solvers
5457 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!