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


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

Re: Reduce the gap between newhostograms

From Ethan A Merritt <EAMerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Reduce the gap between newhostograms
Date 2016-11-04 21:03 -0700
Organization A noiseless patient Spider
Message-ID <nvjllu$75b$1@dont-email.me> (permalink)
References <aaba38c9-ab53-429f-a580-b7f26d1e0c15@googlegroups.com>

Show all headers | View raw


reza.salkhordeh@gmail.com wrote:

> Currently, gnuplot adds a gap between histograms draw in a same plot.
> Is there any way to reduce this gap (i.e., by half).
> Plotting all histograms using the same histogram will result in equal
> gap between all clusters which makes differentiating them hard. Mu
> current plot and gnuplot script look like these:
> http://pastebin.com/XP0ffy8W
> https://s3.postimg.org/a7m6ihwhv/Capture.png


From the output from "help newhistogram"

[snip]
 The `at <x-coord>` option sets the x coordinate position of the following 
 histogram to <x-coord>. For example

        set style histogram cluster
        set style data histogram
        set style fill solid 1.0 border -1
        set xtic 1 offset character 0,0.3
        plot newhistogram "Set A", \
             'file.dat' u 1 t 1, '' u 2 t 2, \
             newhistogram "Set B" at 8, \
             'file.dat' u 2 t 2, '' u 2 t 2

 will position the second histogram to start at x=8.
[snip]

	Ethan

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


Thread

Reduce the gap between newhostograms reza.salkhordeh@gmail.com - 2016-11-04 01:16 -0700
  Re: Reduce the gap between newhostograms Ethan A Merritt <EAMerritt@gmail.com> - 2016-11-04 21:03 -0700

csiph-web