Two graphs in the same plot, why?
이전 댓글 표시
Hi, I imported some data from an xls file, and when plotting it , I obtain two graphs in the plot. Only one is necessary. What is the other and why does it appear?
xlsread('sunHoursInTrollhattan.xlsx')
plot(ans)
xlabel('måned')
ylabel('timer')
title('Soltimar i Trollhattan')

Thanks
채택된 답변
추가 답변 (1개)
Alan Stevens
2024년 1월 31일
0 개 추천
You have the hours as one plot and the minutes as the other!
Turn the data into all minutes, or all hours first.
댓글 수: 1
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!