Adding Two Extra Lines to a Scatter Plot
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a scatter plot exactly like the one in the picture I have attached, except mine does not have the two dotted lines. My plot has the best fit line in the middle and I am trying to figure out how to add those two extra dotted lines. I do not know what to even call them and that is why I have attached the picture. My goal is to add those two dotted lines into my plot.
댓글 수: 1
Jim Riggs
2018년 12월 6일
The question is unclear.
Do you want to know how to add a line to an existing scatter plot, or do you want to know how to calculate the ordinates of the two other lines?
답변 (1개)
Star Strider
2018년 12월 6일
I am not certain what the dashed lines are. If they are confidence bounds on the centre regression line, the File Exchange contribution polypredci (link) function can calculate them.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!