# Xpm2 output error with gromacs2019

**URL:** <https://gromacs.bioexcel.eu/t/xpm2-output-error-with-gromacs2019/10325>\
**Category:** User discussions\
**Tags:** analysis-tools\
**Created:** [October 11, 2024, 3:41pm UTC](https://gromacs.bioexcel.eu/t/xpm2-output-error-with-gromacs2019/10325 "2024-10-11T15:41:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nhina](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@nhina](https://gromacs.bioexcel.eu/u/nhina)\
**Post date:** [October 11, 2024, 3:41pm UTC](https://gromacs.bioexcel.eu/t/xpm2-output-error-with-gromacs2019/10325/1 "2024-10-11T15:41:24Z")

</div>

GROMACS version:2019.6  
GROMACS modification: Yes/No  
Hi guys,  
I have some questions with the gmx xpm2ps command  
I created a xpm file using gmx do\_dssp , then I converted it to an eps file using the following command:  
gmx xpm2ps -f \*.xpm -o \*.eps -di note.m2p -by 10  
I converted the eps to pdf using convert \*.eps \*.pdf  
Although the tick in the Yaxis show correct output, the tick mark in Xaxis is stacked over each other, which make it pretty hard to observe. The data in Xaxis run from 0 to 50000ps.  
It would be appreciated if you could give me some suggestions to solve this problem.

My m2p file:  
black&white = yes ; Obsolete  
titlefont = Times-Roman ; A PostScript Font  
titlefontsize = 20 ; Font size (pt)  
legend = yes ; Show the legend  
legendfont = Times-Roman ; A PostScript Font  
legendlabel = ; Used when there is none in the .xpm  
legend2label = ; Used when merging two xpm’s  
legendfontsize = 16 ; Font size (pt)  
xbox = 0.1 ; x-size of a matrix element  
ybox = 10.0 ; y-size of a matrix element  
matrixspacing = 2.0 ; Space between 2 matrices  
xoffset = 1 ; Between matrix and bounding box  
yoffset = 0.0 ; Between matrix and bounding box

;— Axis options; x-axis —   
x-major = 1; Major ticks on x axis every … frames  
x-minor = 1; Id. Minor ticks  
x-firstmajor = 0 ; First frame for major tick  
x-majorat0 = yes ; Major tick at first frame  
x-majorticklen = 10.0 ; x-majorticklength  
x-minorticklen = 5.0 ; x-minorticklength  
x-label = ; Used when there is none in the .xpm  
x-fontsize = 16 ; Font size (pt)  
x-font = Times-Roman ; A PostScript Font  
x-tickfontsize = 10 ; Font size (pt)  
x-tickfont = Helvetica ; A PostScript Font

;— Axis options; y-axis —  
y-major = 2  
y-minor = 2  
y-firstmajor = 0  
y-majorat0 = no  
y-majorticklen = 8.0  
y-minorticklen = 4.0  
y-label = ; Used when there is none in the .xpm  
y-fontsize = 16  
y-font = Times-Roman  
y-tickfontsize = 10  
y-tickfont = Helvetica

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/bioexcel1/original/2X/d/da45ea562d373a240c1b62f1bcf2fb1de5e6b316.png)
