# Matrix

### Matrix

The matrix panel creates a heatmap or a graphical representation of data organised in a matrix format, with rows and columns representing different variables or categories. Each cell in the matrix corresponds to a specific combination of row and column variables and is often encoded using a gradient of colours. See Matrix Data for data source guidance.

#### **Format**

There are several ways to format the matrix using the menu in the Labels losenge.![](https://t26483244.p.clickup-attachments.com/t26483244/5892bf2b-1480-4c3d-9530-a24cea957b12/image.png)

**Show values:**

First, users can choose to show cell labels. These values can be toggled on/off at the users discretion using the Show Values button in the labels losenge.

![](https://t26483244.p.clickup-attachments.com/t26483244/d19cc780-5a24-4335-81ad-0a04e2a39205/image.png) ![](https://t26483244.p.clickup-attachments.com/t26483244/04e72215-bc98-4dd8-bb14-f3e68c8de541/image.png)

**Rotate axis labels:**

Secondly, users can choose the angle at which the top row labels appear. Users can select from a range of 0 degrees (completely flat/ horizontal) to 90 degrees (complete straight/ vertical).![](https://t26483244.p.clickup-attachments.com/t26483244/93c8fd27-a1f4-45f4-811a-6218926935dd/image.png)![](https://t26483244.p.clickup-attachments.com/t26483244/b2eacdb6-2c80-4a73-82ce-de65879f51df/image.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.microreact.org/instructions/adding-and-editing-panels/matrix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
