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


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

splot, putting labels corresponding to one parameter

From Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Newsgroups comp.graphics.apps.gnuplot
Subject splot, putting labels corresponding to one parameter
Date 2017-08-26 08:05 +0200
Organization Aioe.org NNTP Server
Message-ID <alpine.WNT.2.10.1708260737460.1524@BecaneCoulon> (permalink)

Show all headers | View raw


My gnuplot file is:

set nolog x; set log y; set log z
set xtics 45; set x2tics 9; set grid
set yrange[1:100]; set ytics 10; set mytics 10
unset ztics; set view 0,0
set xlabel "right column" ; set ylabel "middle column"
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"

mydata.txt contains:

100  100   0
200  80   -20
500  4    -60
1000 3.5  -90
2000 1.1  -120
4000 1    -180

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!

Jean-Pierre Coulon

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