# 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
```


---

# 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.kognitos.com/legacy/legacy-experience/automation-areas/charts/show-plot.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.
