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


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

looking for help with histograms

From Oblio <oblio.leitch@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject looking for help with histograms
Date 2011-11-15 04:20 -0800
Organization http://groups.google.com
Message-ID <9ddcc46b-129b-433f-aece-5a42afc3e77e@o5g2000yqa.googlegroups.com> (permalink)

Show all headers | View raw


I have a datafile listing bandwidth for each machine on a network, but
down and up. It looks like:

""  0   1   2   3
"Machine 1 D"   320 768 1287    1318
"Machine 1 U"   119 245 561 491

Where the first column is the data key, and there's 24 columns
representing hours of data. I'd like to generate two histograms,(A) a
rowstack that shows the total bandwidth of all the machines for each
hour, and (B) a columnstack that shows each machine's hourly usage.
So, in graph A, the hours would appear on the x axis, and each
machine's usage would stack up cumulatively. In graph B, the machine
names would appear on the x axis, and the usage during each hour would
stack up cumulatively.

And, for extra credit, I'd like to graph the data twice, alternating
rows (once for upload, once down). The trick here, is to preserve the
first row as it contains column titles.

Does anyone know how to do this? I can get some results, but can't
seem to get the key/xtics/titles etc to show correctly.

Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar


Thread

looking for help with histograms Oblio <oblio.leitch@gmail.com> - 2011-11-15 04:20 -0800

csiph-web