# Plot profile.xvg

**URL:** <https://gromacs.bioexcel.eu/t/plot-profile-xvg/4818>\
**Category:** User discussions\
**Tags:** umbrella-sampling\
**Created:** [September 19, 2022, 4:14pm UTC](https://gromacs.bioexcel.eu/t/plot-profile-xvg/4818 "2022-09-19T16:14:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ann](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ann](https://gromacs.bioexcel.eu/u/ann)\
**Post date:** [September 19, 2022, 4:14pm UTC](https://gromacs.bioexcel.eu/t/plot-profile-xvg/4818/1 "2022-09-19T16:14:49Z")

</div>

GROMACS version:  
GROMACS modification: Yes/No  
Here post your question

Hi, I am new to GROMACS and MD in general.

I just got the file “profile.xvg” after running umbrella sampling for my protein-protein complex.  
How do I obtain the resulting PMF and corresponding umbrella histograms?

xmgrace does not work on my mac for some reason. I used excel to plot “profile.xvg” but it looks nothing like the turorial.

Can anyone help me with this?

Thank you

---

<div class="post-metadata">

**Author:** ![alevilla](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/alevilla/32/439_2.png) [@alevilla](https://gromacs.bioexcel.eu/u/alevilla)\
**Post date:** [September 21, 2022, 10:32am UTC](https://gromacs.bioexcel.eu/t/plot-profile-xvg/4818/2 "2022-09-21T10:32:26Z")

</div>

Hi,  
You can use `gmx wham` [gmx wham — GROMACS 2022.3 documentation](https://manual.gromacs.org/current/onlinehelp/gmx-wham.html) to compute a potential of mean force from umbrella sampling output.

You can also have a look at the umbrella sampling tutorial for some explanation and help  
[https://tutorials.gromacs.org/umbrella-sampling.htm](https://tutorials.gromacs.org/umbrella-sampling.htm).

\Alessandra
