Is there a way to turn scatter plots to data?

8 visualizzazioni (ultimi 30 giorni)
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 Commenti
dpb
dpb il 7 Feb 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 il 7 Feb 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

Accedi per commentare.

Risposta accettata

Cris LaPierre
Cris LaPierre il 7 Feb 2021
Modificato: Cris LaPierre il 7 Feb 2021
Just sort your data if that is what you want. Check out sortrows.

Più risposte (0)

Categorie

Scopri di più su Shifting and Sorting Matrices in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by