RandomInteger[3,3] produces a vector of length-3 randomly. But it counts index from 1. I need a vector, index of which starts from 0. Because of this, when plotting it, my x-axis starts from 1. Look at the following.
ListPlot[RandomInteger[3, 3]]
So I've searched HELP about this, and I found the option about AxesOrigin. I tried out the following.
ListPlot[RandomInteger[3, 3], AxesOrigin -> {1, 0}]
Look at the values of the axis. It's just shifting the axis without adjusting index of the vector. It is starting from 1 still.
How can I count my vectors from the index of 0?


Read the FAQs! 3) When you see good Q&A, vote them up byclicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. ALSO, remember to accept the answer, if any, that solves your problem,by clicking the checkmark sign` – Vitaliy Kaurov Oct 14 '12 at 7:53