add graph and plot command