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 日

1 投票

use
hold on %after plot command

3 件のコメント

Josefina Ottitsch
Josefina Ottitsch 2018 年 11 月 15 日
and should I use this within the function or within the script?
madhan ravi
madhan ravi 2018 年 11 月 15 日
it should be used after the first plot command as mentioned in the answer
madhan ravi
madhan ravi 2018 年 11 月 15 日
if it helped make sure to accept the answer else let know

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange2-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