Sets the pen color of an object given a table of RGB values, e.g.

	w=gfx.Window();
	p=w:plot({1,2,3,4})
	p:setPenColor({1,0,0}); -- Change pen to red
This is the same as p:set('penColor',col).