|
From: Tatsuro M. <tma...@ya...> - 2017-04-09 06:46:38
|
----- Original Message -----
> From: Tatsuro MATSUOKA
> To: Patrick Dupre
> Cc:
> Date: 2017/4/9, Sun 13:46
> Subject: Re: [Gnuplot-info] variable to awk
>
>
>
>
>
> ----- Original Message -----
>> From: Patrick Dupre
>> To: gnuplot
>> Cc:
>> Date: 2017/4/9, Sun 06:09
>> Subject: [Gnuplot-info] variable to awk
>>
>> Hello,
>>
>> I would like to do the following:
>> plot "< awk -v a=var '!/^\#/ {x=x+1; print x*a,$2 }'
> file
>>
>> where var is a variable defined in gnuplot
>> Is it possible?
>>
>> Thank.
>>
>
> The below thread may be helpful for you.
>
> Tatsuro
>
Sorry I had made a mistake.
The below thread may be helpful for you.
You can concatenate strings using '.'
http://stackoverflow.com/questions/36138334/concatenate-2-strings-in-gnuplot
Tatsuro
|