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


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

Re: How to remove labeles from lines

From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to remove labeles from lines
Date 2015-04-07 20:57 +0200
Message-ID <coinl9FqfdvU1@mid.dfncis.de> (permalink)
References <636fec43-7a39-448b-9dd9-86eb3d4a9759@googlegroups.com>

Show all headers | View raw


Am 07.04.2015 um 16:02 schrieb atheofilu@gmail.com:

> This doesn't plot the values on top of the lines, but the green
> values are ploted as thin green lines with an X somewhere. Why is
> this?

Because your plot command requested it.  What exactly did you expect the 
2nd and 4th entry in that plot command to do?  Why did you leave those 
in there, instead of just removing them entirely?  This is what
your command looks like, in a slightly adjusted format:

plot '/tmp/energy.dat' using 1:xticlabel(3) with histogram, \
   '' using 0:($1 > 0 ? $1 : NaN):1 offset -1,1, \
   '' using 2:xticlabel(3) with histogram, \
   '' using 0:($2 > 0 ? $2 : NaN):2 offset 1,1

Whereas you appear to want this:

plot '/tmp/energy.dat' using 1:xticlabel(3) with histogram, \
   '' using 2:xticlabel(3) with histogram, \

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


Thread

How to remove labeles from lines atheofilu@gmail.com - 2015-04-07 07:02 -0700
  Re: How to remove labeles from lines Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2015-04-07 20:57 +0200
    Re: How to remove labeles from lines Andreas Theofilu <atheofilu@gmail.com> - 2015-04-08 01:09 -0700

csiph-web