|
gmx xpm2ps |
|
| Main Table of Contents | VERSION 5.0.7 | |
gmx xpm2ps [-f [<.xpm>]] [-f2 [<.xpm>]] [-di [<.m2p>]] [-do [<.m2p>]]
[-o [<.eps>]] [-xpm [<.xpm>]] [-nice ] [-[no]w] [-[no]frame]
[-title ] [-[no]yonce] [-legend ] [-diag ]
[-size ] [-bx ] [-by ] [-rainbow ]
[-gradient ] [-skip ] [-[no]zeroline]
[-legoffset ] [-combine ] [-cmin ] [-cmax ]
Parameters are set in the .m2p file optionally supplied with -di. Reasonable defaults are provided. Settings for the
When no .m2p file is supplied, many settings are taken from command line options. The most important option is -size, which sets the size of the whole matrix in postscript units. This option can be overridden with the -bx and -by options (and the corresponding parameters in the .m2p file), which set the size of a single matrix element.
With -f2 a second matrix file can be supplied. Both matrix files will be read simultaneously and the upper left half of the first one (-f) is plotted together with the lower right half of the second one (-f2). The diagonal will contain values from the matrix file selected with -diag. Plotting of the diagonal values can be suppressed altogether by setting -diag to none. In this case, a new color map will be generated with a red gradient for negative numbers and a blue for positive. If the color coding and legend labels of both matrices are identical, only one legend will be displayed, else two separate legends are displayed. With -combine, an alternative operation can be selected to combine the matrices. The output range is automatically set to the actual range of the combined matrix. This can be overridden with -cmin and -cmax.
-title can be set to none to suppress the title, or to ylabel to show the title in the Y-label position (alongside the
With the -rainbow option, dull grayscale matrices can be turned into attractive color pictures.
Merged or rainbowed matrices can be written to an XPixelMap file with the -xpm option.