many plots within one plot using functions to draw the plots

Hello,
I am using a script to read different excel sheets and within this script I am using a funtion to plot my excel data.
For every data sheet I get a plot graph.
Now, my question is, how do I put all these plot graphs into one single plot graph?
Thanks for the help!

답변 (1개)

madhan ravi
madhan ravi 2018년 11월 15일
편집: madhan ravi 2018년 11월 15일
use
hold on %after plot command

댓글 수: 3

and should I use this within the function or within the script?
it should be used after the first plot command as mentioned in the answer
if it helped make sure to accept the answer else let know

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

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2018년 11월 15일

댓글:

2018년 11월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by