# 6.3.8 XY Plot

**Introduction**

The real time data in cache will display as continuous curve or separated points, each point in XY plot needs 2 addresses to set a point.

**Description**

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-LuqB9LT_gvwMaqXcWhj%2F-LuqEAD0pC3jt680o8Xk%2F53.png?generation=1575015464056726\&alt=media)

**1) Source**

**Auto sample:** Select data from \[XY plot] and displayed in a curve according to the set time;

**Trigger Sample:** When the trigger address is set, the data is collected and displayed in a curve. After the data is collected, the trigger address is automatically reset;

**Curve settings:** According needs to set style and color for each curve.

**Read address:** \*for example, PLC word address is D, it points number is m. (point numbers no more than 800);

Word address D is the X coordinate of the first point

Word address D+1 is the Y coordinate of the first point;

Word address D+2 is the X coordinate of the second point;

Word address D+3 is the Y coordinate of the second point;

......

Word address D+2m-1 is the X coordinate of the mth point;

Word address D+2m is the Y coordinate of the mth point;

Because if the number of XY points is m, it is necessary to continuously read 2m words from the address D of the PLC to draw a complete XY picture.

**Quick setting:** Fill in the starting address, according to the parameter settings, automatic allocation of addresses.

**2) Range**

**Variable:** The data range for the graph could be set as a variable;

**X, Y Limit:** Set the max and min value of displaying curve;

**Result**

When all configurations are completed, when the HMI is running, it displays as shown below.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-LuqB9LT_gvwMaqXcWhj%2F-LuqEAD1rFdrFRRgvjKr%2F54.png?generation=1575015464070628\&alt=media)

##


---

# 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://wecon.gitbook.io/pistudio-manual/6.-object/6.3-charts/6.3.8-xy-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.
