I am working on a project that is similar to an oscilloscope. I get data from serial port. Next, I plot these values. My plot uses sample number as x axis, and each sample's value as y axis. However, there is a problem. It is better to show x axis' labels as 0, 1 .... 10 fixed numbers rather than each sample number that reaches thousands.. Is there a way to just rename labels?