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


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

Re: splot, putting labels corresponding to one parameter

Path csiph.com!feeder.erje.net!1.eu.feeder.erje.net!news.unit0.net!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: splot, putting labels corresponding to one parameter
Date Sat, 26 Aug 2017 08:42:42 +0200
Organization solani.org
Lines 18
Message-ID <onr591$18s$1@solani.org> (permalink)
References <alpine.WNT.2.10.1708260737460.1524@BecaneCoulon>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1503729761 1308 eJwNx8EBwCAIA8CVBJIUxxFa9h/B3u8YMvUDUeBwTv3bCns7U1/Z0DFetaIPgN1miZZbc3F0AR7dEMk= (26 Aug 2017 06:42:41 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Sat, 26 Aug 2017 06:42:41 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
Cancel-Lock sha1:Bu3M75PENTIAN+OdqckXHTL36dY=
Content-Language de-DE-1901
In-Reply-To <alpine.WNT.2.10.1708260737460.1524@BecaneCoulon>
X-NNTP-Posting-Host eJwNyckBwCAIBMCW5NgFyxGR/ktI5jswCm84QcdgwtWiG+ZXUJYHXLtHU1f8UZKCtKw64/2EHwMoEHM=
X-User-ID eJwNy8EBwEAEBMCWOHZJOVzov4Rk/gOj8oYTdCy2QB6bxBRc7uNzFlx/zSNUtFOsuxAp9z/zAQznEHM=
Xref csiph.com comp.graphics.apps.gnuplot:3732

Show key headers only | View raw


Am 26.08.2017 um 08:05 schrieb Jean-Pierre Coulon:

> set label "1000" at -90, 3.5, 1000
> splot "mydata.txt" using 3:2:1 with lines \
> title "my position according to left column value"
> 
> 
> Can I make the set label line more automatic, in the sense that
> Gnuplot will automatically fetch the line of mydata.txt containing
> 1000 in the left column, instead of copying the two other values of
> this line into my set label line? My data file will change!

Use plot style "with labels":

  replot "mydata.txt" us ($1==1000?$3:NaN):2:1:1 with labels


 Karl

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


Thread

splot, putting labels corresponding to one parameter Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-08-26 08:05 +0200
  Re: splot, putting labels corresponding to one parameter Karl Ratzsch <mail.kfr@gmx.net> - 2017-08-26 08:42 +0200
    Re: splot, putting labels corresponding to one parameter Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-08-26 09:14 +0200
      Re: splot, putting labels corresponding to one parameter Karl Ratzsch <mail.kfr@gmx.net> - 2017-08-27 12:17 +0200
        Re: splot, putting labels corresponding to one parameter Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-08-30 02:05 +0200
          Re: splot, putting labels corresponding to one parameter Karl Ratzsch <mail.kfr@gmx.net> - 2017-08-30 10:00 +0200
            Re: splot, putting labels corresponding to one parameter Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-08-30 13:03 +0200
  Re: splot, putting labels corresponding to one parameter srishtinagu19@gmail.com - 2018-11-25 22:01 -0800
    Re: splot, putting labels corresponding to one parameter Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-26 10:38 +0100
      Re: splot, putting labels corresponding to one parameter srishtinagu19@gmail.com - 2018-11-26 01:46 -0800
        Re: splot, putting labels corresponding to one parameter Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-26 10:55 +0100
          Re: splot, putting labels corresponding to one parameter srishtinagu19@gmail.com - 2018-11-26 02:12 -0800
            Re: splot, putting labels corresponding to one parameter Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-26 11:31 +0100
              Re: splot, putting labels corresponding to one parameter srishtinagu19@gmail.com - 2018-11-26 02:50 -0800
                Re: splot, putting labels corresponding to one parameter srishtinagu19@gmail.com - 2018-11-26 02:52 -0800
                Re: splot, putting labels corresponding to one parameter Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-26 13:17 +0100
                Re: splot, putting labels corresponding to one parameter Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-26 16:29 +0100

csiph-web