matplotlib seems only can plot in GUI or output picture/ps format like files. Is there any module to plot and output text mode figures? eg.
^
| o
| o o o
| o
| o
| o
|
+------------------------------>
0 1 2 3 4 5 6 7
Thanks!
Have you already tried ASCII-Plotter ?
Alternatively you can call gnuplot from your python script. See Command-line Unix ASCII-based charting / plotting tool and Calling gnuplot from python .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.