Question
How can I generate a 3D plot on MATLAB Diastolic Before Systolic Before Pulse Before Diastolic After Systolic After Pulse After Anne 70 75 60
How can I generate a 3D plot on MATLAB
| Diastolic Before | Systolic Before | Pulse Before | Diastolic After | Systolic After | Pulse After |
Anne | 70 | 75 | 60 | 75 | 80 | 70 |
Beth | 80 | 85 | 70 | 85 | 90 | 75 |
Carey | 85 | 90 | 80 | 90 | 95 | 85 |
Drew | 75 | 71 | 74 | 81 | 75 | 80 |
Eva | 61 | 72 | 72 | 76 | 74 | 84 |
Freddie | 87 | 91 | 90 | 92 | 101 | 102 |
I need to generate a 3D plot on MATLAB where every point is graphed on a scatterplot and each point needs to be color coded based on if it was collected before or after the light exercise. If possible test code on MATLAB to test functionality.
The students name needs to be besides each point,
I know how to label the scatterplot
xlabel('Diastolic');
ylabel('Systolic');
zlabel('Pulse');
title('x/y/z Before and After Exercise');
legend('Before','After');
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started