How to plot 2 different functions in a single graph?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
KSSV
le 30 Jan 2019
REad about hold on
5 commentaires
lakshmi dwaraka
le 31 Jan 2019
Modifié(e) : lakshmi dwaraka
le 31 Jan 2019
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.
Voir également
Catégories
En savoir plus sur Graphics Performance dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!