How to plot 2 different functions in a single graph?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
KSSV
am 30 Jan. 2019
REad about hold on
5 Kommentare
lakshmi dwaraka
am 31 Jan. 2019
Bearbeitet: lakshmi dwaraka
am 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.
Siehe auch
Kategorien
Mehr zu Graphics Performance finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!