Plot is for vars. You cannot plot ints. Plotting an index makes no sense anyway since you will likely get a flat line.