Problem solved, For this you have to go for "Plot browser" then select the lines which you want to display, add the titles of the lines. If you want to remove any line from the legend then go to "More properties" to open "Inspector-axes", here you will find "string" beneath it there would be written tag of legend. open for editing this string, here you will find all the entries which are displaying in the legend window. You can edit and delete the legend entries from here.
Legend handling in Matlab figure.
14 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Dear All, I need assistance related to legends of Matlab figure. I have only the figure which i have plotted through time-consuming simulation. While, i was trying to adjust the legends, that stopped me to go further in my work. I am trying to list my problem in statement, hope readers will get understand to give answer to this.
- I have figure with five lines.
- two figures have different colours and three have same color and line styles.
- I want to edit legend by only specifying three lines only.
- in plot browser, First two legends are showing right, however, the third line of interest legend is coming at the end, which i want to take at third place.5) i want to delete the remaining two legends from the legend box but not the lines from the plot.
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Legend in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!