How to make pairplots using gplotmatrix?

Attached is the data of three categories. I need to make pairplots for them. They have different length. How can I swal with data that has different length?
According to the data, B10 with the value of "8331" what would be its pair in B1?
And my next question is that how I can define "group" for gplotmatrix in the data that I have? Should it be like
group={'B1','B10','HE'}
And do you have any other suggestion to make pairplots other than gplotmatrix?

3 Comments

I had to research ‘pair plot’, and I found one such reference in: The Generalized Pairs Plot.
How are the data related? (Note that ‘B10’ appears to have finite values for all 34 rows, while ‘B1’ and ‘He’ do not have the same number of finite elements.) Interpolating them does not appear to be an option, so it would be necessary to devise some sort of function that relates them.
If no such relation exists, it may not be possible to do what you want to do with your data.
@Star Strider: Thanks for the response. In fact I want to find the answer to your question by making paiplots "How are the data related? ". I need to use pairplots to visualize how the data of different groups are related.
You can do that for the complete data you have. Use those to develop a classifier, then classify the rest of your data using that classifier. That is as close as I can get, however.

Sign in to comment.

Answers (0)

Asked:

on 22 Feb 2020

Commented:

on 23 Feb 2020

Community Treasure Hunt

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

Start Hunting!