How to make a scatterplot

1 vue (au cours des 30 derniers jours)
Orongo
Orongo le 23 Oct 2018
Commenté : Orongo le 23 Oct 2018
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 commentaires
jonas
jonas le 23 Oct 2018
what do you want on your axes?
Orongo
Orongo le 23 Oct 2018
see question.

Connectez-vous pour commenter.

Réponse acceptée

jonas
jonas le 23 Oct 2018
Modifié(e) : jonas le 23 Oct 2018
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 commentaires
jonas
jonas le 23 Oct 2018
I've updated the answer.
Orongo
Orongo le 23 Oct 2018
Thanks it works perfect!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Discrete Data Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by