|
From: Patrick D. <pd...@gm...> - 2017-12-07 23:15:30
|
OK Actually plot $DATA using (x=$1): (my_function(x)) is OK =========================================================================== Patrick DUPRÉ | | email: pd...@gm... Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France =========================================================================== > Sent: Thursday, December 07, 2017 at 11:51 PM > From: "Hans-Bernhard Bröker" <HBB...@t-...> > To: "Patrick Dupre" <pd...@gm...>, gnuplot <gnu...@li...> > Subject: Re: [Gnuplot-info] plot with x from file > > Am 07.12.2017 um 23:37 schrieb Patrick Dupre: > > Hello, > > > > I would like to plot, something like: > > plot $DATA using (x=$1): my_function(x) > > > > but it does not work. > > You're trying way too hard. What you appear to be looking for is > > plot $DATA using 1:(my_function($1)) > > |