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


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

Re: histograms

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: histograms
Date 2016-05-23 17:36 +0200
Organization solani.org
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>

Show all headers | 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