sorty
Sort elements in heatmap column
Syntax
Description
sorty(
displays the elements in h,column)column in ascending order (from
top to bottom). This function sorts the column elements by rearranging the rows.
Specify column as one element or as an array of elements
from XData. If the first column that you specify has
repeating values, then sorty rearranges the remaining rows
according to the second column, and so on.
sorty(___,'MissingPlacement',
specifies whether to put lcn)NaN elements first or last in the
sort order. Specify lcn as 'first',
'last', or 'auto'. The default setting
is 'auto', which lists NaN elements last
for ascending order and first for descending order. Use this option after any of
the previous input argument combinations.
sorty( displays the elements in
the first column in ascending order. If the first column has repeating elements,
then h)sorty rearranges the remaining rows according to the
second column, and so on.
Examples
Input Arguments
Output Arguments
Algorithms
The sorty function sets these HeatmapChart
object properties:
YDisplayData— Property that stores the y-axis data.ColorDisplayData— Property that stores the color display data.
The sorty function also resets the YLimits
property.
Version History
Introduced in R2017b






