fill3 not working
Mostra commenti meno recenti
I am trying to plot a simple white (or any solid color for that matter) rectangle. I've tried
px=[.5 .5 -5 -.5];
py=[-.3 .3 -.3 .3];
pz=[.3 .3 .3 .3];
X = [px; px];
Y = [py; py];
Z = [-pz; pz];
C = [1 1 1 1; 1 1 1 1];
figure
fill3(X,Y,Z,C);
But only a black box shows up. I've tried different values in the C matrix such as all .5's but still just shows the same black box. What am I doing wrong??? I appreciate any help anyone can give,
Thanks,
Thomas
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Surface and Mesh Plots in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!