Re: Updated plotcli (version 0.8.0). Now build on ggplotd

2016-02-15 Thread Edwin van Leeuwen via Digitalmars-d-announce

On Monday, 15 February 2016 at 22:54:19 UTC, wobbles wrote:


Sounds good!

I have a vibe.d app that plots our servers sar data using 
plotly.js.


I'll investigate integrating this instead of plotly so I'll 
have a fully D solution! (I tried generating my own svg file 
but it was too large an effort for me at the time!)


If you want to plot directly from D you could consider 
integrating ggplotd directly, because that would give you maximum 
flexibility. Note that if you are interested in a particular type 
of plot that isn't supported yet just let me know (or submit a 
pull request :)). Extending ggplotd/plotcli to support a new type 
is relatively straightforward (see the ggplotd readme).


Ggplotd and plotcli both support saving to png/svg/pdf format.


Re: Updated plotcli (version 0.8.0). Now build on ggplotd

2016-02-15 Thread wobbles via Digitalmars-d-announce
On Monday, 15 February 2016 at 21:43:27 UTC, Edwin van Leeuwen 
wrote:

On Monday, 15 February 2016 at 20:17:00 UTC, wobbles wrote:


This looks very cool - does it take long to export the png 
file?


Particularly with the -f flag, if the data file is updated, 
how long until does it take to print? I know I could check, 
but you prob know the answer :P


Currently it saves if the last save is more than 100ms ago. It 
also tries to read the file every 100ms, so at the outside it 
would take 200ms after a file update. Have been thinking I 
might have to increase that time a bit to deal with larger data 
sets.


Sounds good!

I have a vibe.d app that plots our servers sar data using 
plotly.js.


I'll investigate integrating this instead of plotly so I'll have 
a fully D solution! (I tried generating my own svg file but it 
was too large an effort for me at the time!)


Re: Updated plotcli (version 0.8.0). Now build on ggplotd

2016-02-15 Thread Edwin van Leeuwen via Digitalmars-d-announce

On Monday, 15 February 2016 at 20:17:00 UTC, wobbles wrote:


This looks very cool - does it take long to export the png file?

Particularly with the -f flag, if the data file is updated, how 
long until does it take to print? I know I could check, but you 
prob know the answer :P


Currently it saves if the last save is more than 100ms ago. It 
also tries to read the file every 100ms, so at the outside it 
would take 200ms after a file update. Have been thinking I might 
have to increase that time a bit to deal with larger data sets.




Re: Updated plotcli (version 0.8.0). Now build on ggplotd

2016-02-15 Thread wobbles via Digitalmars-d-announce
On Monday, 15 February 2016 at 12:11:39 UTC, Edwin van Leeuwen 
wrote:
Plotcli[1] is a command line application that can create plots 
by parsing text/csv files and from piped data, making it useful 
during data analysis.



Plotcli v0.8.0 has been largely rewritten to use ggplotd[2] as 
its backend. This results in more beautiful plots and gives us 
greater control over the exact plots created. Note though that 
the command line arguments are incompatible with previous 
releases.


Plotcli (through ggplotd) can now also show the plots in a gtk 
window, through using `plotcli --format gtk`. Previously 
versions only supported saving the resulting plots to files.


Examples and more documentation are available on the its github 
page:

https://github.com/BlackEdder/plotd

[1] https://github.com/BlackEdder/plotd
[2] https://github.com/BlackEdder/ggplotd


This looks very cool - does it take long to export the png file?

Particularly with the -f flag, if the data file is updated, how 
long until does it take to print? I know I could check, but you 
prob know the answer :P




Re: Updated plotcli (version 0.8.0). Now build on ggplotd

2016-02-15 Thread jmh530 via Digitalmars-d-announce
On Monday, 15 February 2016 at 12:11:39 UTC, Edwin van Leeuwen 
wrote:


Plotcli v0.8.0 has been largely rewritten to use ggplotd[2] as 
its backend. This results in more beautiful plots and gives us 
greater control over the exact plots created. Note though that 
the command line arguments are incompatible with previous 
releases.





Cool.