1 .TH xpm2ps 1 "Thu 16 Oct 2008"
3 xpm2ps - convert XPM (XPixelMap) file to postscript
9 .BI "-f2" " root2.xpm "
13 .BI "-xpm" " root.xpm "
20 .BI "-legend" " enum "
25 .BI "-rainbow" " enum "
26 .BI "-gradient" " vector "
28 .BI "-[no]zeroline" ""
29 .BI "-legoffset" " int "
30 .BI "-combine" " enum "
34 xpm2ps makes a beautiful color plot of an XPixelMap file.
35 Labels and axis can be displayed, when they are supplied
36 in the correct matrix format.
37 Matrix data may be generated by programs such as do_dssp, g_rms or
41 Parameters are set in the
43 file optionally supplied with
46 . Reasonable defaults are provided. Settings for the y-axis
47 default to those for the x-axis. Font names have a defaulting hierarchy:
48 titlefont - legendfont; titlefont - (xfont - yfont - ytickfont)
49 - xtickfont, e.g. setting titlefont sets all fonts, setting xfont
50 sets yfont, ytickfont and xtickfont.
55 file is supplied, many setting are set by
56 command line options. The most important option is
59 which sets the size of the whole matrix in postscript units.
60 This option can be overridden with the
65 options (and the corresponding parameters in the
68 which set the size of a single matrix element.
73 a 2nd matrix file can be supplied, both matrix
74 files will be read simultaneously and the upper left half of the
77 ) is plotted together with the lower right
78 half of the second one (
80 ). The diagonal will contain
81 values from the matrix file selected with
84 Plotting of the diagonal values can be suppressed altogether by
90 In this case, a new color map will be generated with
91 a red gradient for negative numbers and a blue for positive.
92 If the color coding and legend labels of both matrices are identical,
93 only one legend will be displayed, else two separate legends are
97 an alternative operation can be selected
98 to combine the matrices. The output range is automatically set
99 to the actual range of the combined matrix. This can be overridden
111 to suppress the title, or to
114 to show the title in the Y-label position (alongside
120 option dull grey-scale matrices can be turned
121 into attractive color pictures.
124 Merged or rainbowed matrices can be written to an XPixelMap file with
131 X PixMap compatible matrix file
133 .BI "-f2" " root2.xpm"
135 X PixMap compatible matrix file
139 Input file for mat2ps
143 Input file for mat2ps
147 Encapsulated PostScript (tm) file
149 .BI "-xpm" " root.xpm"
151 X PixMap compatible matrix file
155 Print help info and quit
157 .BI "-nice" " int" " 0"
161 View output xvg, xpm, eps and pdb files
163 .BI "-[no]frame" "yes "
164 Display frame, ticks, labels, title and legend
166 .BI "-title" " enum" " top"
177 .BI "-[no]yonce" "no "
178 Show y-label only once
180 .BI "-legend" " enum" " both"
191 .BI "-diag" " enum" " first"
200 .BI "-size" " real" " 400 "
201 Horizontal size of the matrix in ps units
203 .BI "-bx" " real" " 0 "
204 Element x-size, overrides -size (also y-size when -by is not set)
206 .BI "-by" " real" " 0 "
209 .BI "-rainbow" " enum" " no"
210 Rainbow colors, convert white to:
218 .BI "-gradient" " vector" " 0 0 0"
219 Re-scale colormap to a smooth gradient from white {1,1,1} to {r,g,b}
221 .BI "-skip" " int" " 1"
222 only write out every nr-th row and column
224 .BI "-[no]zeroline" "no "
225 insert line in xpm matrix where axis label is zero
227 .BI "-legoffset" " int" " 0"
228 Skip first N colors from xpm file for the legend
230 .BI "-combine" " enum" " halves"
231 Combine two matrices:
243 .BI "-cmin" " real" " 0 "
244 Minimum for combination output
246 .BI "-cmax" " real" " 0 "
247 Maximum for combination output