# Gmx msd not generating linear plot

**URL:** <https://gromacs.bioexcel.eu/t/gmx-msd-not-generating-linear-plot/9736>\
**Category:** User discussions\
**Created:** [July 25, 2024, 8:41am UTC](https://gromacs.bioexcel.eu/t/gmx-msd-not-generating-linear-plot/9736 "2024-07-25T08:41:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sidharth](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@Sidharth](https://gromacs.bioexcel.eu/u/Sidharth)\
**Post date:** [July 25, 2024, 8:41am UTC](https://gromacs.bioexcel.eu/t/gmx-msd-not-generating-linear-plot/9736/1 "2024-07-25T08:41:26Z")

</div>

hello, I am working on ionic liquids and after completion of simulation i am tring to find msd of the Li ion , when i am running gmx msd command for the complete time period the plot is not linear and after adding samppling time for the last 10ns the plot improves but not completely linear. i am also uploding the plote for after adding sampling time  
 ![msdli80](https://europe1.discourse-cdn.com/flex017/uploads/bioexcel1/original/2X/a/a8c6c60445171198f96aa616576a69d66bb4a49b.png)
