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


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

Re: How to display the value in the n-th column in the 3rd from the last row in the file on a chart?

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to display the value in the n-th column in the 3rd from the last row in the file on a chart?
Followup-To comp.graphics.apps.gnuplot
Date 2012-07-19 07:45 -0700
Organization gnuplot development team
Message-ID <ju96j0$saq$1@dont-email.me> (permalink)
References <4cbe6f01-15ae-4e98-8f87-1975d57b4b5a@googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


TonyG wrote:

> I assume gnuplot 4.6 does not have a dedicated data file line
> addressing mechanism and I would have to use a script.  So, how do I
> display a specific value copied from a specific file (generated by a
> script) on a chart (using, for example, the 'set label 1 sprintf("a =
> %3.4f", a) at 500,50' command, a situation described in the title of
> my post?



Foo = system("tail -3 filename")
Labeltext = word(Foo,N)
set label 1 Labeltext at some_x, some_y

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


Thread

How to display the value in the n-th column in the 3rd from the last row in the file on a chart? TonyG <tgozdz@gmail.com> - 2012-07-19 04:07 -0700
  Re: How to display the value in the n-th column in the 3rd from the last row in the file on a chart? sfeam <sfeam@users.sourceforge.net> - 2012-07-19 07:45 -0700
    Re: How to display the value in the n-th column in the 3rd from the last row in the file on a chart? TonyG <tgozdz@gmail.com> - 2012-07-19 08:13 -0700
      Re: How to display the value in the n-th column in the 3rd from the last row in the file on a chart? sfeam <sfeam@users.sourceforge.net> - 2012-07-19 13:32 -0700
        Re: How to display the value in the n-th column in the 3rd from the last row in the file on a chart? TonyG <tgozdz@gmail.com> - 2012-07-21 08:19 -0700

csiph-web