PlotPyStack / PythonQwt

Qt plotting widgets for Python (pure Python reimplementation of Qwt C++ library)
https://pypi.org/project/PythonQwt/
Other
86 stars 25 forks source link

Funcionality for plotting dates or timeseries? #44

Closed titusjan closed 1 year ago

titusjan commented 7 years ago

First of all thanks for making this library.

Is it somehow possible to make line plots where the x-coordinates are Python datetime objects or Numpy datetime64 elements?

I couldn't find anything in the documentation or source. I'm not familiar with Qwt but it seems to have a QwtDate class. However this is apparently not ported to PythonQwt.

Any help would be appreciated.

twillis449 commented 7 years ago

Have a look at the demo programs CPUplot.py and DataDemo.py in the subdirectory qwt/tests. They could provably be adapted to do what you want.