# Line plot from script or batch file

**URL:** <https://forum.cmascenter.org/t/line-plot-from-script-or-batch-file/4774>\
**Category:** VERDI\
**Created:** [March 12, 2024, 8:13pm UTC](https://forum.cmascenter.org/t/line-plot-from-script-or-batch-file/4774 "2024-03-12T20:13:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ardastan](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@ardastan](https://forum.cmascenter.org/u/ardastan)\
**Post date:** [March 12, 2024, 8:13pm UTC](https://forum.cmascenter.org/t/line-plot-from-script-or-batch-file/4774/1 "2024-03-12T20:13:41Z")

</div>

Hi,

I wonder if there is any example for producing a line graph (gtype=line) by running a batch file or a script? All examples in VERDI scripts are for tile plot.  
If anyone can provide such a thing, I also appreciate if they can comment on the production of a line graph for a probe at a specific cell.

cheers,

---

<div class="post-metadata">

**Author:** ![lizadams](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@lizadams](https://forum.cmascenter.org/u/lizadams)\
**Post date:** [March 22, 2024, 5:00pm UTC](https://forum.cmascenter.org/t/line-plot-from-script-or-batch-file/4774/2 "2024-03-22T17:00:49Z")

</div>

You can create a line plot by changing gtype=tile to gtype=line.

I am attaching the example script that will work using the following command once you copy it to the data/scripts directory under the VERDI package.

```auto
./verdi.command -batch ./data/scripts/O3_lineplot_png.txt

```

[O3\_lineplot\_png.txt](https://forum.cmascenter.org/uploads/short-url/uiyb0s0XrqBC04j6qo9iFwJE7v1.txt) (3.4 KB)
