Hi to all,



Here is a question which I cannot solve. Appreciate so much for any suggestions!



I have a squared region which is irregularly divided into many rectangular patches.

Each patch is associated with a value, and two patches possibly share a common value.

I hope to fill in each patch a pattern according to its value. For
instance, if a patch has value 1, then I fill in that patch with
pattern A; if it has value 2, then fill in it with pattern B,...



The pattern is something like a rectangular region with certain colored
lines in it. For instance, pattern A may be a white rectangular region
filled in by two thick black lines;

pattern B may be a white rectagular region filled in by 10 thick black lines,...



Is this available in matlab? I have serached "polygnon" in matlab user guide and found a

"fill function" may work, however, there is still a long way to finally complete it.



Many thanks again!

Jeff


      
	[[alternative HTML version deleted]]

