Plot 3D scatter plots in a subplot

It seems subplot does not support 3-D scatter plot using plot3.m or scatter3. For example, the following codes won't work
subplot(121);
plot3(x1,y1,z1);
subplot(122);
plot3(x2,y2,z2);
Is there a way to plot 3-d scatter plots in individual subplots?

Answers (0)

This question is closed.

Tags

Asked:

on 27 Mar 2021

Closed:

on 27 Mar 2021

Community Treasure Hunt

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

Start Hunting!