How to make a scatterplot

5 ビュー (過去 30 日間)
Orongo
Orongo 2018 年 10 月 23 日
コメント済み: Orongo 2018 年 10 月 23 日
Hi, I have a large set of residual data (10x10000) with ages 61:70 (by row). I would like to plot the residuals looking like this
with residuals on y-axis and ages on x-axis. How can I make this?
  2 件のコメント
jonas
jonas 2018 年 10 月 23 日
what do you want on your axes?
Orongo
Orongo 2018 年 10 月 23 日
see question.

サインインしてコメントする。

採用された回答

jonas
jonas 2018 年 10 月 23 日
編集済み: jonas 2018 年 10 月 23 日
Let Y be your matrix with data, you can simply make a scatterplot like this:
x = 61:70;
h = plot(x,Y,'bo','markerfacecolor,'b')
but considering you have so much data in discrete intervals (age) I would propose that you look into other options like boxplot
  3 件のコメント
jonas
jonas 2018 年 10 月 23 日
I've updated the answer.
Orongo
Orongo 2018 年 10 月 23 日
Thanks it works perfect!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDiscrete Data Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by