How to plot 2 different functions in a single graph?
11 ビュー (過去 30 日間)
古いコメントを表示
Hi,I have got 2 functions saved in 2 scripts "trial.m" and "dataandmean.m" respectively. These 2 functions plot 2 different graphs namely mean of the data of a particular month and dailydatas of that month. I need to plot them together in a single graph by calling these functions in a third script called "new.m" .Is it possible? Am fairly new with matlab and coding.
I have attached my codes "trial.m" and "dataandmean.m". Pls go through these. Any help would be greatly appreciated. Thankyou!!!
0 件のコメント
回答 (1 件)
KSSV
2019 年 1 月 30 日
REad about hold on
5 件のコメント
lakshmi dwaraka
2019 年 1 月 31 日
編集済み: lakshmi dwaraka
2019 年 1 月 31 日
Got it. Thankyou fr your help! The loop is necesaary by the way. I have got about 600 values to plot so without loop its not possible. Anyway thankyou. God bless.
参考
カテゴリ
Help Center および File Exchange で Graphics Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!