I have datasets that correspond to a certain time of simulations. When I plot these datasets, the x labels, of course, shows the length of the data. I changed it with
xticks([0 1000 2000 3000])
Which is not very accurate, and wanted to know if there is a way of making the length of my data equals to 'x' nanoseconds and then adjust the ticks and labels accordingly.