How to plot 2 different functions in a single graph?
조회 수: 3 (최근 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!