Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4031

Plot histogram like diagram with time series data on x axis

Newsgroups comp.graphics.apps.gnuplot
Date 2018-08-12 05:18 -0700
Message-ID <0e95caaf-161b-44bf-a6b9-3a840778bf9b@googlegroups.com> (permalink)
Subject Plot histogram like diagram with time series data on x axis
From joerg.kastning@gmail.com

Show all headers | View raw


Hello @all,

I'm still a gnuplot beginner and could use some help plotting my data in a histogram like chart.

Here is my datafile sample:

~~~
#date,0-6,6-12,12-18,18-24
2018-07-17,2,4,6,4
2018-07-18,1,5,5,2
2018-07-19,0,8,4,3
~~~

The first column contains the date of a specific day, followed by a number of events per timeframe.

I would like to plot these data in a histogram like chart with bars containing the boxes for the different values of a row per day. I looked up the documentation for histograms but I don't understand it. :-(

Could someone give me an example how to plot the data as described above? If you do not understand what I'm trying to accomplish, please ask. I'll try to make it clear.

Best regards,
Joerg

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

Plot histogram like diagram with time series data on x axis joerg.kastning@gmail.com - 2018-08-12 05:18 -0700
  Re: Plot histogram like diagram with time series data on x axis Ethan Merritt <eamerritt@gmail.com> - 2018-08-13 04:39 +0000

csiph-web