Error to generate xpm2ps output

GROMACS version: 2020
GROMACS modification: No

Hi All,

I have an issue to visualize xpm data when I try to convert to eps format. The input format for xpm2ps is from gmx densmap output. here is the details,

gmx xpm2ps -f densmap_5u9d-WT_100.xpm -o densmap_5u9d-WT_100.eps -rainbow red
:-) GROMACS - gmx xpm2ps, 2020 (-:

                        GROMACS is written by:
 Emile Apol      Rossen Apostolov      Paul Bauer     Herman J.C. Berendsen
Par Bjelkmar      Christian Blau   Viacheslav Bolnykh     Kevin Boyd    

Aldert van Buuren Rudi van Drunen Anton Feenstra Alan Gray
Gerrit Groenhof Anca Hamuraru Vincent Hindriksen M. Eric Irrgang
Aleksei Iupinov Christoph Junghans Joe Jordan Dimitrios Karkoulis
Peter Kasson Jiri Kraus Carsten Kutzner Per Larsson
Justin A. Lemkul Viveca Lindahl Magnus Lundborg Erik Marklund
Pascal Merz Pieter Meulenhoff Teemu Murtola Szilard Pall
Sander Pronk Roland Schulz Michael Shirts Alexey Shvetsov
Alfons Sijbers Peter Tieleman Jon Vincent Teemu Virolainen
Christian Wennberg Maarten Wolf Artem Zhmurov
and the project leaders:
Mark Abraham, Berk Hess, Erik Lindahl, and David van der Spoel

Copyright © 1991-2000, University of Groningen, The Netherlands.
Copyright © 2001-2019, The GROMACS development team at
Uppsala University, Stockholm University and
the Royal Institute of Technology, Sweden.
check out http://www.gromacs.org for more information.

GROMACS is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation; either version 2.1
of the License, or (at your option) any later version.

GROMACS: gmx xpm2ps, version 2020
Executable: /usr/local/gromacs/bin/gmx
Data prefix: /usr/local/gromacs
Working dir: /home/crystalworkstation02/Syahrul/MD_simulation/100ns/WT/runWT_1
Command line:
gmx xpm2ps -f densmap_5u9d-WT_100.xpm -o densmap_5u9d-WT_100.eps -rainbow red


Program: gmx xpm2ps, version 2020
Source file: src/gromacs/fileio/matio.cpp (line 297)

Input error or input inconsistency:
Invalid XPixMap

For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors

What should I do? Your help is highly appreciated. Thank you.

What does this mean? It supposed to be correct xpm file generated by gromacs itself. any clues?

This is a known bug and has been described in this forum within the last few days (please search before posting). Upgrade to 2020.3 and try again.

Thank you for the info.

Now I have upgraded to gromacs 2020.3. Yes the conversion is working.

Unfortunately, the graph scales (x- and y-axis) generated are badly overlapping (unreadable) refer attached.

How can I fix this? your help is much appreciated. thank you.

There is a template file for conversion at /path-to-gromacs/share/top/ps.m2p. You can provide template file with -di option. Copy that file to current directory and adjust x-major/x-minor and y-major/y-minor, then supply with -di option while invoking gmx xpm2ps.

Hello
Sir, can you explain a little deep on adjusting the axes?
Thank You.