Getpencolor Function Example
Action
A function that returns the RGB color (list #3) currently used to draw a graph.
make rgb getpencolor();
pencolor(list(first(rgb), first(rest(rgb)), remainder(first(rest(rest(rgb)))+100,256)));
Sets the pencolor to the next color in the cycle.