|
From: <pl...@pi...> - 2013-02-14 08:13:12
|
On 02/13/13 22:34, Ethan A Merritt wrote:
> On Wednesday, February 13, 2013 11:06:15 am pl...@pi... wrote:
>> Hi,
>>
>> may be I''m being a bit slow or just not looking in the right place but
>> I can't see a means to redirect output of a gnuplot print command to a
>> file.
>
> help set print
>
>>
>> I'm running series of fit and plot commands in a loop using gnuplot
>> iteration and I need to capture the output of some information (but not
>> get spammed by fit) I am printing at each step.
>>
>> I have set fit quiet and get the output I need directly in the gnuplot
>> shell , so hackwise I could just scroll back and forth and copy and
>> paste, but it's a fag to do since there's rather a lot and this could
>> lead inaccuracies and copy errors I need to avoid.
>>
>> I want to get output like to following into a file, what am I missing?
>>
>> print sprintf(" len=%s; fitted = %5.3fm = %5.3fa",len,
>> p1*len,p1*len/12.);
>>
>>
>> many thanks, Peter.
>
Hi Ethan,
Many thanks, I could not believe it was not possible.
|