Is there a way to turn scatter plots to data?

11 views (last 30 days)
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 Comments
dpb
dpb on 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 on 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

Sign in to comment.

Accepted Answer

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

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!