Effacer les filtres
Effacer les filtres

Is there a way to turn scatter plots to data?

11 vues (au cours des 30 derniers jours)
Wolfgang McCormack
Wolfgang McCormack le 7 Fév 2021
Modifié(e) : Cris LaPierre le 7 Fév 2021
Hello everyone, I have two variables plotted as a scatter plot. Is there a way to turn the scatter plot to a table or array as data? (becuase it arranges the correlation)
Thanks in advance!
  2 commentaires
dpb
dpb le 7 Fév 2021
Say what!!!???
You had to have the data to create a scatter plot; it must alread by and array (or two arrays).
Show us code/data...
Wolfgang McCormack
Wolfgang McCormack le 7 Fév 2021
@dpbno, I have the data! they are X and Y arrays (365 by 1). One is temperature and scatter plot is using the temperature to find the correlation between X and Y. So now I want to use change point detection and one way is to get the sorted data from the scatter plot. So, I want to knowis there any way to do that? or should I use sort to sort one column and corresponding values in the other column

Connectez-vous pour commenter.

Réponse acceptée

Cris LaPierre
Cris LaPierre le 7 Fév 2021
Modifié(e) : Cris LaPierre le 7 Fév 2021
Just sort your data if that is what you want. Check out sortrows.

Plus de réponses (0)

Catégories

En savoir plus sur Scatter Plots dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by