# Arduino CLI - Plotter?

**URL:** <https://forum.arduino.cc/t/arduino-cli-plotter/951016>\
**Category:** Arduino Command Line Tools\
**Created:** [January 25, 2022, 1:51am UTC](https://forum.arduino.cc/t/arduino-cli-plotter/951016 "2022-01-25T01:51:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![belamat](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/belamat/32/241343_2.png) [@belamat](https://forum.arduino.cc/u/belamat)\
**Post date:** [January 25, 2022, 1:51am UTC](https://forum.arduino.cc/t/arduino-cli-plotter/951016/1 "2022-01-25T01:51:32Z")

</div>

Hi Im using linux with Nvim and the Arduino CLI interface. How can I plot the serial output? (like the normal arduino ide Plotter)

---

<div class="post-metadata">

**Author:** ![in0](https://avatars.discourse-cdn.com/v4/letter/i/77aa72/32.png) [@in0](https://forum.arduino.cc/u/in0)\
**Post date:** [January 25, 2022, 2:56am UTC](https://forum.arduino.cc/t/arduino-cli-plotter/951016/2 "2022-01-25T02:56:37Z")

</div>

There are a few possibilities listed in [this discussion](https://community.platformio.org/t/plotting-using-platformio/6597)

- [GitHub - devinaconley/arduino-plotter: An Arduino library for easy graphing on host computer via serial communication](https://github.com/devinaconley/arduino-plotter)
- [GitHub - hyOzd/serialplot: Small and simple software for plotting data from serial port in realtime.](https://github.com/hyOzd/serialplot)
- Use the Arduino IDE Serial Plotter

There are definitely several other options.

I have only ever used the Arduino IDE Serial Plotter, so I can't give any opinion about the first two.

I would start with [SerialPlot](https://github.com/hyOzd/serialplot) just because I find it kind of off-putting that the first one requires an Arduino library for your sketch to communicate with the [Processing](https://processing.org/) application, but if you are already into using Processing that might be a point in its favor.

Probably pretty complex to get set up, but it is worth mentioning that the official Serial Plotter was completely rewritten for Arduino IDE 2.x and this is now a separate application from the IDE, which makes it theoretically possible to use it with other applications (but you would need to pass the data to it via the websocket:

> **[GitHub - arduino/arduino-serial-plotter-webapp: arduino-serial-plotter-webapp](https://github.com/arduino/arduino-serial-plotter-webapp)**
>
> arduino-serial-plotter-webapp. Contribute to arduino/arduino-serial-plotter-webapp development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![belamat](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/belamat/32/241343_2.png) [@belamat](https://forum.arduino.cc/u/belamat)\
**Post date:** [January 25, 2022, 3:01am UTC](https://forum.arduino.cc/t/arduino-cli-plotter/951016/3 "2022-01-25T03:01:36Z")

</div>

Thanks a Lot In0 !!

I ll check what you shared : )

Have a nice day!!

---

<div class="post-metadata">

**Author:** ![belamat](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/belamat/32/241343_2.png) [@belamat](https://forum.arduino.cc/u/belamat)\
**Post date:** [January 25, 2022, 3:21am UTC](https://forum.arduino.cc/t/arduino-cli-plotter/951016/4 "2022-01-25T03:21:02Z")

</div>

Yes, SerialPlot did the job perfectly. Was looking something like this with no additional libraries or code specification.

THANKS!!!

---

<div class="post-metadata">

**Author:** ![in0](https://avatars.discourse-cdn.com/v4/letter/i/77aa72/32.png) [@in0](https://forum.arduino.cc/u/in0)\
**Post date:** [January 25, 2022, 3:36am UTC](https://forum.arduino.cc/t/arduino-cli-plotter/951016/5 "2022-01-25T03:36:11Z")

</div>

You are welcome. I'm glad to hear you found a working solution. Thanks for taking the time to share your findings.

* * *

Something for readers of this thread to note when using external applications connected to the primary serial port of an Arduino board is that you must close that connection before attempting to upload via Arduino CLI.

Because it has control over Serial Monitor and Serial Plotter, the Arduino IDE is able to handle this juggling of the serial port automagically, so Arduino users often don't realize this is necessary, and then get confused when their uploads are failing all of a sudden.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 24, 2022, 3:36am UTC](https://forum.arduino.cc/t/arduino-cli-plotter/951016/6 "2022-07-24T03:36:18Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
