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


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

Re: 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 Re: plot with offset in labels
Date Sun, 3 Apr 2016 19:36:36 +0200
Organization solani.org
Lines 24
Message-ID <ndrkb2$gmd$1@solani.org> (permalink)
References <ndmjlo$7d4$1@solani.org> <ndn5t4$rm9$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
X-Trace solani.org 1459704994 17101 eJwFwYcBwDAIA7CXGGbknELq/0+IFJ6aW8hIBINTI71GKPx8ZHfdOCj7R7RkuAzUmsvyLvgAHEMRZw== (3 Apr 2016 17:36:34 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Sun, 3 Apr 2016 17:36:34 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
X-User-ID eJwFwQkBwDAIA0BLMEjC5PQB/xJ6h6DzKAkmBpPYfeSVSwbaLsdnHbodlP3JNoQ8rjMnaj0BXw/f
In-Reply-To <ndn5t4$rm9$1@dont-email.me>
Cancel-Lock sha1:PT/OzSLFqss0BZqNdeqGoVFQT5o=
X-NNTP-Posting-Host eJwFwQkRwEAIBDBLZdjlkQMU/Eu4hGpi4zAaeLwD0Ff8Yvuk0O2MTQ36wmpzkfP7xVCL0g8sUxGn
Xref csiph.com comp.graphics.apps.gnuplot:3286

Show key headers only | View raw


Am 02.04.2016 um 03:08 schrieb Ethan A Merritt:
> 
> The problem is that "offset" in the general case takes up to 
> 3 following values: x, y, and z.  It stops if it doesn't encounter
> a comma before the next value.   So this syntax confuses it:
> 
>   plot $foo ... offset x,y, $baz
> 
> because it tries to interpret $baz as a z offset value rather than
> a new plot.
> 
> This was a problem for a long time, but it has been fixed in the
> cvs version by teaching the relevant get_position_xxx() routines 
> that in a 2D context they should only expect 2 values. 
> That was largish set of patches that do not apply cleanly to 
> version 5.0 so backporting is not automatic.

So the workaround is to give a third (dummy) offset?
Trying ... works.

Thank you!

  Karl

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious 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