matrix2png interface

Fill in the following form to generate images from your own data files. Information on the required data file format is available here, including a sample data file. Detailed documentation is available here. The matrix2png home page is here. While that documentation is for the command line interface, most of it applies here.

Quick tips to avoid common file format problems:

Use test file:

Enter the path to your data file here:

Set any of the options below.

The most commonly changed options are shown in color. For some options, default values are already set.

Set the options for the basic appearance of the image:

Size in pixels for each element: width height (Will be adjusted to at least 8 if you want row or column labels)

Normalize the rows of the matrix to have mean zero, variance one

Range of values to display as different colors: minimum maximum

Trim values by percent: (To limit effect of extreme outlier values; not used if you set range above)

Use ellipses instead of rectangles

Set color options:

Background color

Missing values are shown as:

Adjust contrast: by (Ignored if you set range above)

Decide how you want colors assigned to values:

Set the color bounds by hand:

OR use a preset map:

OR, Use a discrete mapping of values to colors:

Min color

Middle color

Max color


Reverse the map

Map choices are shown here

Optional discrete map file:

Number of colors to use: Default: 64. (Ignored if using discrete mapping)

Add widgets:

Draw a scale bar

Display the row labels

Display the row labels on the left side of the image (default=right side)

Display the column labels

Display the column labels on the bottom of the image (default=top)

Draw dividers between cells

Limit the data used for making the picture:

By default, all the data is used and all values are used to calculate the data range.

Start from row Number of rows to process:

Start from column Number of columns to process: