Sunday, 11 August 2013

Draw Polygonal Number Using PSTricks

Draw Polygonal Number Using PSTricks

I would like to draw the following using PSTricks:

(Found on
http://i1.wp.com/mathandmultimedia.com/wp-content/uploads/2012/08/polygonal-numbers.png.)
I can do it myself using an extremely low-tech soluton where I draw every
blue and yellow dot maunally, but I can't figure out how to do it'
automatically'.
Thank you in advance.
P.S. Sorry for not giving it a try myself; I really don't know where to
start (other than the fact that is probably has to involve \multidos).

No comments:

Post a Comment