add a draw() command & legend support
update test plots