"patch" command error
Mostra commenti meno recenti
mac -OS
MATLAB version-2018a
I have two matrices one with vertices-(280×3) and the other one with faces-(556×3) .
Using patch command as follows
P=patch('Faces',f11,'Vertices',k1); %%%%%f11= face matrix and k1=vertex matrix.
set(P,'FaceColor','b','FaceAlpha',0.5);
set(P,'EdgeColor','k','LineWidth',2);
It gives the following error
Error using patch
Value must be of numeric type and greater than 1
Attached are the two files containing the matrices.
Any suggestions on how to eliminate this problem
Thanks.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Polygons in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!