polybuffer command how to get the polygons without colours ?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
jahanzaib ahmad
il 27 Nov 2018
Commentato: jahanzaib ahmad
il 28 Nov 2018
i m using polybuffer command
polyout3 = polybuffer(polyin,0.006667,'JointType','square');
plot(polyout2);
i want to remove the colours of polygons and just want the boundaries or offset polygons .
0 Commenti
Risposta accettata
Steven Lord
il 27 Nov 2018
When you call plot on the polyshape object returned by polybuffer specify that you want 'FaceColor' to be 'none'. Compare the plots in the two figures created by this code:
>> P = nsidedpoly(4);
>> figure
>> plot(P)
>> title('Default FaceColor')
>> figure
>> plot(P, 'FaceColor', 'none')
>> title('FaceColor none')
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Elementary Polygons 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!