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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to remove labeles from lines
Date Tue, 07 Apr 2015 20:57:47 +0200
Lines 22
Message-ID <coinl9FqfdvU1@mid.dfncis.de> (permalink)
References <636fec43-7a39-448b-9dd9-86eb3d4a9759@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.dfncis.de OV2NA7VrrNmvtupYPNMBkQAYNuzC1Z2g/LJb5J9c3HX6U6i/aL11qxwzQH
Cancel-Lock sha1:51KvieyEEgHWQT1iYQNdGxubvUs=
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
In-Reply-To <636fec43-7a39-448b-9dd9-86eb3d4a9759@googlegroups.com>
Xref csiph.com comp.graphics.apps.gnuplot:2872

Show key headers only | 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