# 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="https://3590686807-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwEBNWlmdcxXBXd7oyqyR%2Fuploads%2F8XJBG8RwA4gjAFfagg8F%2Fimage.png?alt=media&#x26;token=431b603c-3c4b-4475-8aca-c88c3e6a25a2" 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="https://3590686807-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwEBNWlmdcxXBXd7oyqyR%2Fuploads%2FOTBMZAa3TjCnesMfn93B%2Fimage.png?alt=media&#x26;token=3a485a28-b28e-4d7d-a609-9810c4662f4f" 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](https://docs.marpledata.com/docs/other-resources/1-minute-marple-videos "mention")
