| New Reply |
legend in matlab |
Share Thread | Thread Tools |
| May21-12, 04:56 AM | #1 |
|
|
legend in matlab
Hi,
I have this plots: Plot(A(1:200,1),A(1:200,2),'r'); Plot(A(201:end,1),A(201:end,2),'r'); Plot(A(1:120,1),A(1:120,3)); Plot(A(121:end,1),A(121:end,3),'b'); Plot(A(1:,1),A(:,3),'k'); I want to have a legend for my plots so i used h=legend('D1', 'D2', 'D3'); but legend is for my first, second and third (red, red, blue) plots while i want to have a legend for first third and fifth (red, blue and black) plots, Can anyone help me? Thank you.. |
| PhysOrg.com |
science news on PhysOrg.com >> Hong Kong launches first electric taxis >> Morocco to harness the wind in energy hunt >> Galaxy's Ring of Fire |
| New Reply |
| Thread Tools | |
Similar Threads for: legend in matlab
|
||||
| Thread | Forum | Replies | ||
| Matlab: Data from Best Fit Lines into Legend | Math & Science Software | 4 | ||
| Dynamic Legend in MatLab | Math & Science Software | 3 | ||
| Matlab Legend Problem | Math & Science Software | 0 | ||
| Question about matlab figure legend. | Math & Science Software | 2 | ||
| will you pass on the story to your son? | General Discussion | 6 | ||