# RMSD graph plot using python

**URL:** <https://gromacs.bioexcel.eu/t/rmsd-graph-plot-using-python/8863>\
**Category:** User discussions\
**Created:** [April 12, 2024, 9:26am UTC](https://gromacs.bioexcel.eu/t/rmsd-graph-plot-using-python/8863 "2024-04-12T09:26:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AF1](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AF1](https://gromacs.bioexcel.eu/u/AF1)\
**Post date:** [April 12, 2024, 9:26am UTC](https://gromacs.bioexcel.eu/t/rmsd-graph-plot-using-python/8863/1 "2024-04-12T09:26:20Z")

</div>

Hello

Does anyone know how to make rmsd graphs side by side and one below another over several pages in python? I used a gromacs tutorial to plot the xvg graphs using matplotlib but I could not make the grid.  
Thank you.

 ![Capture](https://europe1.discourse-cdn.com/flex017/uploads/bioexcel1/original/2X/a/a5b3608d0881560689b80f9bce0d311c7ed93fca.png)

---

<div class="post-metadata">

**Author:** ![milosz.wieczor](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@milosz.wieczor](https://gromacs.bioexcel.eu/u/milosz.wieczor)\
**Post date:** [April 12, 2024, 10:18am UTC](https://gromacs.bioexcel.eu/t/rmsd-graph-plot-using-python/8863/2 "2024-04-12T10:18:20Z")

</div>

Use plt.subplots().

That’s actually a great question to ask an LLM, Claude will give you working code tailored to your problem ;)

---

<div class="post-metadata">

**Author:** ![AF1](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AF1](https://gromacs.bioexcel.eu/u/AF1)\
**Post date:** [April 12, 2024, 11:10am UTC](https://gromacs.bioexcel.eu/t/rmsd-graph-plot-using-python/8863/3 "2024-04-12T11:10:10Z")

</div>

Thank you so much. I did try with plt.subplot() but the axis of both graph mix up. I will try to use Claude. Thank you.
