last updated: 2021-07-06]
go to: Python Home page
(link to:) matplotlib.org - troubleshooting
-----
- Install it with:
$ pip install matplotlib
(See here to verify that pip is installed)
- Verify matplotlib is installed:
Run this python program:
#!/usr/bin/python
import matplotlib
print ('matplotlib version: ' + matplotlib.__version__)
print ('prog end')
# end program
- If generating or analyzing your data requires calculations,
it's recommended to use numpy,
which is a library with support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.
Wikipedia
pip install numpy
------------------------------------------
- Demo program:
(edited from: https://www.geeksforgeeks.org/graph-plotting-in-python-set-1/)
code: demoPlot-03.py.txt
Loaded onto Dell-4600
Executed from terminal with:
$ sudo python3 ~/Documents/myFiles/workingFiles-4600/Tech-some/Linux/python/testProgs/demoPlot-03.py
---------------------------------------------
- Plot options:
---------------------------------------------
- Animation:
.
.
.
eof