{
  "name": "heatmap ColorMethod values for table input in MATLAB",
  "description": "Compiled from the MathWorks heatmap reference page: each ColorMethod value, when it is the default, and its stated restrictions for tables and tall arrays.",
  "page": "https://casrai.org/guides/heatmap-in-matlab",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-12-03T13:07:52Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "ColorMethod value",
      "unit": "",
      "description": ""
    },
    {
      "name": "Default case",
      "unit": "",
      "description": ""
    },
    {
      "name": "Restriction stated in the reference",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "ColorMethod value": "count",
      "Default case": "Not a default",
      "Restriction stated in the reference": "None stated"
    },
    {
      "ColorMethod value": "mean",
      "Default case": "Default when ColorVariable is given",
      "Restriction stated in the reference": "None stated"
    },
    {
      "ColorMethod value": "median",
      "Default case": "Not a default",
      "Restriction stated in the reference": "Not supported for tall arrays"
    },
    {
      "ColorMethod value": "sum",
      "Default case": "Not a default",
      "Restriction stated in the reference": "None stated"
    },
    {
      "ColorMethod value": "max",
      "Default case": "Not a default",
      "Restriction stated in the reference": "None stated"
    },
    {
      "ColorMethod value": "min",
      "Default case": "Not a default",
      "Restriction stated in the reference": "None stated"
    },
    {
      "ColorMethod value": "none",
      "Default case": "Default for matrix data",
      "Restriction stated in the reference": "Each x-y pair must appear once in the table; not supported for tall arrays"
    }
  ],
  "sources": [
    {
      "title": "MathWorks: heatmap",
      "url": "https://www.mathworks.com/help/matlab/ref/heatmap.html",
      "accessed": "2026-12-03"
    }
  ]
}