Plotting 3D scattered data using CSV

29 vues (au cours des 30 derniers jours)
Mubarak Alanazi
Mubarak Alanazi le 29 Mar 2022
Modifié(e) : Tala le 30 Mar 2022
Hello,
I want to plot the participants' information ( Number of people, Ages , BMI ) of my experiment into a professional 3D plot using MATLAB.
The data showing as below: ( the data is saved in CSV file names "Participants" ):
Please anyone can help me how to do that?

Réponse acceptée

Tala
Tala le 29 Mar 2022
T= readmatrix('Participants.csv');
x=T(:,1);
y=T(:,2);
z=T(:,3);
scatter3(x,y,z)
  10 commentaires
Mubarak Alanazi
Mubarak Alanazi le 30 Mar 2022
thanks
Tala
Tala le 30 Mar 2022
Modifié(e) : Tala le 30 Mar 2022
anytime :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by