How to add legend of consicutive plots on the same graph?
2 次查看(过去 30 天)
显示 更早的评论
For an example, I want to plot a graph with different t (t1, t2, t3 etc) using GUI. The plot will be done consecutively, meaning, once the plot for t1 completed it will wait for the second input value i.e. t2 and after getting input it will plot t2 along with t1 in the same graph. Now I want to differentiate them automatically to the graph by adding legends.
Could anybody please help me in that regards? Thanks in advance !
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!