Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: db Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Passimg value to gnuplot Date: Mon, 12 Aug 2024 13:28:37 -0000 (UTC) Organization: A noiseless patient Spider Lines: 20 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 12 Aug 2024 15:28:37 +0200 (CEST) Injection-Info: dont-email.me; posting-host="b432fb70afe683e2c0efcb4ef83c87c7"; logging-data="3487283"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+d3oCKYG0IVfxyx4GyJDarNvRIexhljNg=" User-Agent: Pan/0.149 (Bellevue; 4c157ba) Cancel-Lock: sha1:ZldkFqMaYPg/FOZ31+xkDu8KXKQ= Xref: csiph.com comp.graphics.apps.gnuplot:4670 On Sat, 10 Aug 2024 17:50:59 +0100, Chris Elvidge wrote: > On 10/08/2024 at 15:56, db wrote: >> I am writing a Fortran program that computes a number, which I want to >> appear in a label in a subsequent gnuplot. What is the best way to pass >> it and pick it up as label? >> > Look here: > https://stackoverflow.com/questions/12328603/how-to-pass-command-line- argument-to-gnuplot > http://www.bersch.net/gnuplot-doc/batch-interactive-operation.html These don't help. OK, maybe this is easier: My Fortran program writes out s single text line into a data file. It contains some text and a number. Now I start gnuplot. How do I get gnuplot to pick up that text and use it in a label or in a title? -- db