필터 지우기
필터 지우기

how to do superimposing?

조회 수: 1 (최근 30일)
prabakaran arumugam
prabakaran arumugam 2019년 12월 2일
답변: Image Analyst 2019년 12월 2일
for m=1:5
figure(2); subplot(3,3,m);
plot(Jan_global(:,n));ylim([0 400]);xlim([0 120]);title(B(1,x));ylabel('Irradiance');xlabel('Time');
set(gca,'XTickLabel',{'7.45';'13.00';'17.00';});
set(groot,'defaultLineLineWidth',1.5)
m=m+1;
n=n+1;
x=x+1;
end
I'm having code to create a multiple graphs using the loop.
How do I superimpose the mean value graph in that same graph?
What change do I need to make in that code.

답변 (1개)

Image Analyst
Image Analyst 2019년 12월 2일
After the first call to plot(), call hold on:
hold on;

카테고리

Help CenterFile Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by