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

Answers (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 Comment

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?

Sign in to comment.

Categories

Find more on Surfaces, Volumes, and Polygons in Help Center and File Exchange

Asked:

on 28 Sep 2015

Edited:

on 30 Sep 2015

Community Treasure Hunt

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

Start Hunting!