fixed setcolor / penup/down in graph