auto plot generation, local mode