How to merge multiple graphs in a same plot?

Hi guys!
How can I merge multiple lines into one on the same plot? I have plotted the graphs, what command or tool i should use to combine them? Function for the plot: plot(r1x,r1y,r2x,r2y,r3x,r3y).
Many thanks!

 채택된 답변

Star Strider
Star Strider 2016년 2월 15일

0 개 추천

It depends on how you want to combine them.
I would take the mean and std at each value of your independent variable (use the interp1 function to get values for all the data at the same independent variable values if necessary), and then plot the mean and 95% confidence intervals, using the t-distribution (the tinv function in the Statistics Toolbox) to calculate the confidence intervals.

댓글 수: 2

Garett Ng
Garett Ng 2016년 2월 16일
thanks pal! really helped a lot!
Star Strider
Star Strider 2016년 2월 16일
My pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

2016년 2월 15일

댓글:

2016년 2월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by