microplateplot
Display visualization of microtiter plate
Syntax
microplateplot(Data)
Handle = microplateplot(...)
microplateplot(Data,
...'RowLabels', RowLabelsValue, ...)
microplateplot(Data, ...'ColumnLabels', ColumnLabelsValue,
...)
microplateplot(Data, ...'TextLabels', TextLabelsValue,
...)
microplateplot(Data, ...'TextFontSize', TextFontSizeValue,
...)
microplateplot(Data, ...'MissingValueColor', MissingValueColorValue,
...)
microplateplot(Data, ...'ToolTipFormat', ToolTipFormatValue,
...)
Description
microplateplot( displays
an image of a microtiter plate with each well colored according to
intensity values, such as from a plate reader. Data)
returns
the handle to the axes of the plot.Handle = microplateplot(...)
microplateplot(..., ' calls PropertyName', PropertyValue,
...)microplateplot with optional
properties that use property name/property value pairs. You can specify
one or more properties in any order. Enclose each PropertyName in
single quotation marks. Each PropertyName is
case insensitive. These property name/property value pairs are as
follows:
microplateplot( lets
you specify labels for the rows of data. Data,
...'RowLabels', RowLabelsValue, ...)
microplateplot( lets you specify labels for the columns of data. Data, ...'ColumnLabels', ColumnLabelsValue,
...)
microplateplot( lets you specify text to overlay of the wells in the
image. Data, ...'TextLabels', TextLabelsValue,
...)
microplateplot( lets you specify the font size of the text you specify
with the Data, ...'TextFontSize', TextFontSizeValue,
...)'TextLabels' property.
microplateplot( lets you specify the color of wells with missing values
(NaN values). Data, ...'MissingValueColor', MissingValueColorValue,
...)
microplateplot( lets you specify the format of the text used in the
well tooltips. The well tooltips display the actual value from the
input matrix when you click a well. Data, ...'ToolTipFormat', ToolTipFormatValue,
...)ToolTipFormatValue is
a format string, such as used by the sprintf function.
Default is 'Value: %.3f', which specifies including
three digits to the right of the decimal in fixed-point notation.
Input Arguments
| DataMatrix object or matrix containing intensity values, such as from a plate reader. Tip For help importing data from a spreadsheet or data file into a MATLAB® matrix, see Import Text Files. Note The |
| Cell array of character vectors or string vector that specifies labels for the rows of data.
Default is the first |
| Cell array of character vectors or string vector that specifies labels for the columns of
data. Default is |
| Cell array of character vectors or string vector the same size as
|
| Positive integer specifying the font size of the text you specify
with the |
| Three-element numeric vector of RGB values that specifies the
color of wells with missing values (NaN values). Default is |
| Format string, such as used by the Default: |
Output Arguments
| Handle to the axes of the plot. Tip Use the |
Examples
Load a MAT-file, included with the Bioinformatics Toolbox™ software, which contains two variables:
assaydata, an 8-by-12 matrix of data values from a microtiter plate, andwhiteToRed, a 64-by-3 matrix that defines a colormap.load microPlateAssayCreate a visualization of the data from the microtiter plate.
microplateplot(assaydata)
Change the visualization to use a white-to-red colormap, and then view a tooltip displaying the value of well D6 by clicking the well.
colormap(whiteToRed)

Notice that all wells in column 12 are black, indicating missing data.
Overlay an
Xon well E8.Create an empty cell array.
mask = cell(8,12);
Add the string
'X'to the cell in the fifth row and eighth column of the array.mask{5,8} = 'X';Pass the cell array to the
microplateplotfunction using the'TextLabels'property.microplateplot(assaydata,'TEXTLABELS',mask);

If you have not already done so, create a plot of a microplate as described previously.
Return a handle to the axes of the plot, and then reverse the order of the row letter labels.
h = microplateplot(assaydata); set(h,'YDir','normal')

For information on adding a title and x-axis and y-axis labels to your plot, see Add Title and Axis Labels to Chart.
For information on printing or exporting your plot, see Printing and Saving.
Version History
Introduced in R2009a