plot chart where x-axis is number of ticks instead of time