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

Antworten (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 Kommentar

Mr M.
Mr M. am 30 Sep. 2015
Bearbeitet: Mr M. am 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?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Line Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 28 Sep. 2015

Bearbeitet:

am 30 Sep. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by