working example plot