http://qs1969.pair.com?node_id=11135248


in reply to Plaintext plot - existing sofware?

"ascii plot" on cpan seems to find useful modules (haven't tried any of them recently).

(off-topic, just for the hack of it, here is a ascii-graph written in SQL: Mandelbrot Set)

Replies are listed 'Best First'.
Re^2: Plaintext plot - existing sofware?
by parv (Vicar) on Jul 21, 2021 at 10:59 UTC

    That SQL "query" result was glorious! :-]

    I thought I had tried ScatterPlot already; does not look like so now; will try soon and report.

    App::AsciiChart looked promising (missed earlier) but it generates its own Y values.

      ScatterPlot worked in the way I wanted to ...

      elapsed:day
      5.3                                         ... 
      |                                        ....   
      |                                    .....      
      |                                 ....          
      |                             .....             
      |                       .......                 
      |                 .......                size:T 
      0.0        ........                        20.7 
      0.0.........------------------------------------
      
      (This & following 2 lines I have added myself.)
      X: amount of data transferred, TB;
      Y: number of days elapsed.
      

      Above is not very linear graph of data transferred via zfs send | ssh other-host zfs recv from one FreeBSD 12 host to another. After 5.3 days, 20.7 TB of data (total is 47.9 TB) had been transferred.

      As of now, linear regression suggests ~10 more days to finish. Polynomial curve fit (of degree 3) — which had matched the plot more than linear regression — estimates ~30 days. Yikes!