Is there a way to turn scatter plots to data?

8 Ansichten (letzte 30 Tage)
Wolfgang McCormack
Wolfgang McCormack am 7 Feb. 2021
Bearbeitet: Cris LaPierre am 7 Feb. 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 Kommentare
dpb
dpb am 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 am 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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Shifting and Sorting Matrices finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by