osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to plot a data including date and time?


On Wed, Aug 14, 2019 at 8:17 AM Rich Shepard <rshepard at appl-ecosys.com> wrote:
>
> On Tue, 13 Aug 2019, amirrezaheidarysbu at gmail.com wrote:
>
> > I have a .csv file, in first column I have date and hour, and in the
> > second column I have energy use data. How can I make a bar chart with Date
> > and time as the x axis and the energy use as the Y axis?
>
> First, find yourself a plotting program (R and PSTricks are two I use;
> matplotlib also does a fine job).

Given that we're on python-list here, matplotlib would be the obvious
choice here :)

ChrisA