many plots within one plot using functions to draw the plots

1 view (last 30 days)
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!

Answers (1)

madhan ravi
madhan ravi on 15 Nov 2018
Edited: madhan ravi on 15 Nov 2018
use
hold on %after plot command
  3 Comments
madhan ravi
madhan ravi on 15 Nov 2018
it should be used after the first plot command as mentioned in the answer
madhan ravi
madhan ravi on 15 Nov 2018
if it helped make sure to accept the answer else let know

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!