[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuplot-info
Subject:    Re: value of a variable in title
From:       Johannes Zellner <johannes () zellner ! org>
Date:       2002-05-29 14:45:34
[Download RAW message or body]

On Wed, May 29, 2002 at 02:13:47PM +0200, Stefan Schneider wrote:
> dear friends,
> i like to put the value (calculated by fit) of a variable as the title of a plot
> but i could not find a way to do so.
> do you no any help?

here's a hack (guessing you need it somewhere in a script)

    set print "__tmp__.gpi__"
    print 'set title "the value is: ', your_variable, '"'
    set print
    load "__tmp__.gpi__"
    system "rm -f __tmp__.gpi__"

-- 
   Johannes
 - -
[[[[ to unsubscribe from info-gnuplot, send an email with body
unsubscribe info-gnuplot
to majordomo@dartmouth.edu
]]]]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic