MATLAB Answers

How to add legend of consicutive plots on the same graph?

조회 수: 2(최근 30일)
Bijit Banik
Bijit Banik 5 Mar 2011
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개)

Paulo Silva
Paulo Silva 6 Mar 2011
http://www.mathworks.com/help/techdoc/creating_plots/braliom.html

  댓글 수: 0

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by