> For the complete documentation index, see [llms.txt](https://docs.owkin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.owkin.com/help-center/running-analyses-and-working-with-results/how-do-i-refine-iterate-and-export-a-chart.md).

# How do I refine, iterate, and export a chart?

{% hint style="info" %}
**What this article covers** This article explains how to modify a chart after it has been generated, iterate on it using natural language follow-up prompts, and export it for use in presentations or publications.
{% endhint %}

When K-Pro returns a chart or visualisation, it is fully interactive — you are not locked into the initial result. You can refine, filter, or re-format it simply by typing a follow-up instruction in the chat.

### How to iterate on a chart

After a chart is generated, type a follow-up instruction in the chat to modify it. K-Pro understands context from the previous message, so you do not need to repeat the full prompt.

{% hint style="success" %}
**Iteration prompt examples:**

* "Filter this plot to only show stage III patients"
* "Split by EGFR mutation status"
* "Change the colour palette to be colour-blind friendly"
* "Remove the outliers and re-plot"
* "Add a statistical significance annotation"
* "Show the same data as a violin plot instead of a box plot"
  {% endhint %}

### How to export a chart

Once you are satisfied with a chart, you can download it for use in presentations, reports, or publications:

1. Hover over the chart in the K-Pro interface.
2. Click the **download icon** (or the ⋮ menu) that appears in the top-right corner of the chart.
3. Select your preferred format: **PNG** (for presentations) or **SVG** (for publication-quality vector graphics).

{% hint style="warning" %}
**Troubleshooting:** If the download icon is not visible, try hovering directly over the chart area. On some browsers, the icon only appears on hover. If the issue persists, try a different browser or submit a support request.
{% endhint %}

### Tips for better charts

* **Start specific**: name the gene, dataset, cancer type, and chart type in your first prompt for the most relevant first result.
* **Iterate progressively**: one change at a time works better than combining multiple instructions in a single follow-up.
* **Reference "this chart" or "this plot"** in follow-up prompts so K-Pro knows you are modifying the existing result rather than starting a new analysis.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.owkin.com/help-center/running-analyses-and-working-with-results/how-do-i-refine-iterate-and-export-a-chart.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.
