# State

State plots display the state of one or more signals over time by assigning colors to different value conditions. Each signal appears as a horizontal bar where the color indicates the signal’s state at any moment.

<figure><img src="/files/zLCLSJ109BV8AfOn6a10" alt="State plot"><figcaption></figcaption></figure>

#### Defining State Colors

You can define **color rules** based on conditions, such as:

* *signal value < X*
* *signal value > X*
* *signal value = X*

Each rule assigns a specific color and label when its condition is met.

#### Adding Signals

You can add **as many signals** to a state plot as you need by drag and drop. Each signal will have its own row with its own set of state rules.

#### Plot Settings

In the plot settings, you can:

* Show or hide cursor values
* Show or hide labels
* Select a signal to configure its conditional color rules

Color rules are evaluated **top to bottom**. The plot applies the **first rule that matches** the value for each time range.

<figure><img src="/files/FyeTPFJOQejzc7h79dBR" alt="State plot settings"><figcaption></figcaption></figure>

## Discover the State Plot in 1 minute

{% embed url="<https://www.youtube.com/watch?index=17&list=PLtVuqpI9QpJAFtUEvuS23Z47XGHrRc_P9&v=HwVS6knYqFU>" %}

Want to discover more Marple features in 1 minute? Check out other [1 Minute Marple videos](/docs/other-resources/1-minute-marple-videos.md)


---

# 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.marpledata.com/docs/marple-insight/user-manuals/visualisation/plot-types/state.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.
