
3D plotting base surface
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi there, i have a 3D figure i need to make a base for that . Should it be rectancgle and how to fill it?Many thanks :o
0 Commenti
Risposte (1)
Star Strider
il 8 Dic 2019
I am not certain what you are asking.
Try this:
x = randn(1, 10);
y = randn(1, 10);
z = randn(1, 10);
figure
stem3(x, y, z, 'filled')
hold on
xl = xlim;
yl = ylim;
hs = surf(xl, yl, zeros(size(xl(:)*yl)));
set(hs, 'FaceAlpha',0.2, 'FaceColor',[0.6 0.6 0.6])
hold off
grid on
producing:

Experiment to get different results.
0 Commenti
Vedere anche
Categorie
Scopri di più su Surface and Mesh Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!