# Show Plot

### Overview

This procedure displays a plot that was previously created using `create a plot`. It supports **scatter**, **line** and **box** plots.

### Syntax

Below is a line-by-line overview of the automation syntax. Expand each line to learn more.

<details>

<summary><code>show the plot</code></summary>

#### What does it do?

Displays the current plot.

#### Where does it go?

This phrase should be written on a **new line**.

#### Is it required?

✅ Yes — This phrase is **required**.

#### Does it require data?

✅ Yes — A reference to **the plot** must be defined in the automation.

</details>

<details>

<summary><code>the dpi is x</code></summary>

#### What does it do?

Overrides the default resolution.

#### Where does it go?

Indented under `show the plot with`.

#### Is it required?

❌ No — This phrase is **optional**.

#### Does it require data?

✅ Yes — Replace **x** with a numeric value (dots per inch). The default is `600`.

#### Example

```
the dpi is 300
```

</details>

### Examples

#### 1. Basic Display

```
create a scatter plot where
    the x values are [1, 2, 3, 4, 5]
    the y values are [85, 90, 78, 92, 88]
    the title is "Performance vs Experience"
show the plot
```

#### 2. Custom Resolution Display

```
create a box plot where
    the values are [72, 85, 91, 78, 88, 95, 82, 87, 93, 89]
    the title is "Score Distribution Analysis"
show the plot with
    the dpi is 300
```
