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


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

plot with offset in labels

Path csiph.com!weretis.net!feeder4.news.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 plot with offset in labels
Date Fri, 1 Apr 2016 21:54:32 +0200
Organization solani.org
Lines 29
Message-ID <ndmjlo$7d4$1@solani.org> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1459540472 7588 eJwFwQkBwDAIA0BLwAi0cnga/xJ2hy80Jj0QDoJnSVuvSiuVptRFMkvf3bAzu2wYOs1b7M0PNO8R5w== (1 Apr 2016 19:54:32 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Fri, 1 Apr 2016 19:54:32 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
X-User-ID eJwFwYEBACAEBMCVqEfGecr+I3Rn29U74OawsWFZTpTGZb7DHHBpAMV24YHn5SpQJF6/3h8tYhG5
X-Mozilla-News-Host news://news.solani.org:119
Cancel-Lock sha1:VAysV+AtBrdviOWf7vn80XDJfF0=
X-NNTP-Posting-Host eJwFwQERACAIA8BMKMMtDnDQP4L/uGHRzwPhWKx19x1WHrreSGEgs1rOEpec1mTuPZDGPySgEWQ=
Xref csiph.com comp.graphics.apps.gnuplot:3281

Show key headers only | View raw


Can anybody tell me what is wrong with this plot (tested in gp5.0.3)?

====
$data << EOD
402  32 6
404  107 22
406  139 51


402 34 6
404 64 22
406 84 51
EOD

unset key

plot $data index 1 us 3:2 w p,\
     $data index 0 us 3:2 w p

replot $data index 1 us 3:2:("left") with labels offset 2,0
replot $data index 0 us 3:2:("up") with labels offset 0,1
====

If I comment out any of the two later plots, no error occurs.
Without any offset, there is also no problem.


  Karl

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


Thread

plot with offset in labels Karl Ratzsch <mail.kfr@gmx.net> - 2016-04-01 21:54 +0200
  Re: plot with offset in labels Ethan A Merritt <EAMerritt@gmail.com> - 2016-04-01 18:08 -0700
    Re: plot with offset in labels Karl Ratzsch <mail.kfr@gmx.net> - 2016-04-03 19:36 +0200

csiph-web