From: Ferry H. <fer...@gm...> - 2006-11-16 23:05:34
|
Ian asked me to look into writing a polygon function. This is now finished and is in my SVN branch. To use the new function, simply define a number of points in an array, and then pass this plus the number of pairs you want to plot to the polygon function. For example, the following code will plot a triangle: clg dim test(6) test[0] = 10 test[1] = 80 test[2] = 20 test[3] = 10 test[4] = 80 test[5] = 30 colour blue poly test, 3 Cheers /Ferry |