Adding Two Extra Lines to a Scatter Plot

3 ビュー (過去 30 日間)
Ziv Melamed
Ziv Melamed 2018 年 12 月 6 日
コメント済み: Jim Riggs 2018 年 12 月 6 日
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. Screen Shot 2018-12-06 at 2.10.27 PM.png
  1 件のコメント
Jim Riggs
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
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.

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by