Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3261
| From | Hans-Bernhard Bröker <HBBroeker@t-online.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Histograms series overlap |
| Date | 2016-03-16 17:02 +0100 |
| Message-ID | <dktec3F1762U1@mid.dfncis.de> (permalink) |
| References | <ncbtlu$14fm$1@gioia.aioe.org> |
Am 16.03.2016 um 16:21 schrieb Joe:
> I have following data files (eg. two files one for each serie).
> I'm referring to hourly measure records from two stations.
[...]
> For each hour I want a "box" with the low part filled with
> color of station that reports lower value. And upper part
> filled with colour of station that reports higher value.
I'm afraid combining data from two sets like that is going to be
impossible with the data residing in two separate input files. With the
data in a 3-column file, something like
plot 'file.dat' u 1:(max($2,$3)):(1+($2>$3)) w boxes lc var, \
'' u 1:(min($2,$3)):(1+($3>=$2)) w boxes lc var
might do it.
I therefore suggest you use external tools like the classic Unix
utilities 'join' and 'paste' to turn your two files into one, before
attempting to plot this.
> Can I obtain a plot like I've explained above?
Let's just say that putting the two data sets besides each other (i.e.
using slimmer boxes, with a bit of horizontal displacement) would be a
whole lot easier than trying to force gnuplot to do it your way.
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
Histograms series overlap Joe <joe@invalid.invalid> - 2016-03-16 15:21 +0000
Re: Histograms series overlap Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-03-16 17:02 +0100
Re: Histograms series overlap Joe <joe@invalid.invalid> - 2016-03-16 17:52 +0000
csiph-web