is it possible to draw separate polygons with one fill() function?

Réponses (1)

>> fill(rand(1,3),rand(1,3),'r',rand(1,3)+1, rand(1,3)+1,'c')
And doc fill shows the syntax

1 commentaire

Mr M.
Mr M. le 30 Sep 2015
Modifié(e) : Mr M. le 30 Sep 2015
and it is possible to do it in general, I mean for n arbitrary data vector, which is given by a data structure, for example cell array of vectors or anything else?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Surfaces, Volumes, and Polygons dans Centre d'aide et File Exchange

Question posée :

le 28 Sep 2015

Modifié(e) :

le 30 Sep 2015

Community Treasure Hunt

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

Start Hunting!

Translated by