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


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

Re: histograms

Path csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: histograms
Date Mon, 23 May 2016 17:36:43 +0200
Organization solani.org
Lines 25
Message-ID <nhv82j$e9h$1@solani.org> (permalink)
References <nhufef$24h$1@dont-email.me> <nhuhei$mlu$1@solani.org> <nhut0h$ii4$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1464017811 14641 eJwFwYEBwCAIA7CXlAq15wCO/09Y4ogdzRMex8dHkEQ4lNy1Ltj8snW4YHntkf1qbg5MFfgBARoQjg== (23 May 2016 15:36:51 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Mon, 23 May 2016 15:36:51 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
X-User-ID eJwFwQkBACAIA8BKIownDirrH8E7qIvfMIcbCM6tWUGgG4zKODtNX0spbERxqLGS+mQnnB8dORC3
In-Reply-To <nhut0h$ii4$1@dont-email.me>
Cancel-Lock sha1:HoLkXXCBNMsPqKy6U/U+/6AIm4w=
X-NNTP-Posting-Host eJwFwYEBwCAIA7CXVqGtnONk/H/CEoag6xSVHI5IaF/uUKFdg+Rqf4/ftmnkyuN0H9wo6gf3eA/M
Xref csiph.com comp.graphics.apps.gnuplot:3328

Show key headers only | View raw


Am 23.05.2016 um 14:28 schrieb Dieter Britz:
> Yes, but it's a bit cryptic to me. I have now got a histogram,
> with your help, using this:
> 
> set boxwidth  0.9 relative
> set style data histograms
> set style histogram cluster
> plot for [COL=1:2] '0.dat' using COL #, '1.dat' using COL
> 
> and having eliminated the count column.
> Now I want two of them, one using 0.dat (the previous first set)
> as is, open bars, plus the second set 1.dat, alongside that with
> filled bars. How do I do that?

Still i do not see what you want the "for" iteration for. Have you read
"help plot for"? I thought your first column only contains the
sequential numbers of the histogram slots (which gnuplot does not need
anyway, but surely they are not histogram data)?

Anyway, your "set" commands plus

  plot "0.dat" us col 2, "1.dat" using col 2

does it. What is the problem?

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


Thread

histograms Dieter Britz <dieterhansbritz@gmail.com> - 2016-05-23 08:36 +0000
  Re: histograms Karl Ratzsch <mail.kfr@gmx.net> - 2016-05-23 11:10 +0200
    Re: histograms Dieter Britz <dieterhansbritz@gmail.com> - 2016-05-23 12:28 +0000
      Re: histograms Karl Ratzsch <mail.kfr@gmx.net> - 2016-05-23 17:36 +0200
  Re: histograms Jörg Buchholz <bookwood4news@freenet.de> - 2016-05-23 18:48 +0200
    Re: histograms Dieter Britz <dieterhansbritz@gmail.com> - 2016-05-25 11:16 +0000

csiph-web