4 curves and legend with three curve description

Status
Not open for further replies.

aliazmat

Banned
Joined
Mar 14, 2008
Messages
76
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,288
Activity points
0
friends;

I am using matlab, I have 4 curves in the graph and want to show them using legend
but in legend I want to show the desription of three of them and want to escape on curve description from legend.
I mean, 4 curves are in graph, and graph shows legend regarding 3 one is left on my wish.
how can I ?

Please some idea ////////
 

Just a hack.

Plot your first three curves in one Matlab figure and show the legend for these 3 curves. Then, in another Matlab figure (e.g., you can create a new figure in Matlab with the command "figure"), you plot the fourth one. Then, copy the fourth curve and paste it to the previous figure. (To enable copy-and-paste in Matlab figures, you need to click the arrow button in Matlab figures.)
 

    aliazmat

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…