plot in node.js
I would like to build a server using node.js which is able to plot graphs.
I could not find useful information so far on how to hook Matplotlib/ Pylab into node.
Maybe GNUPlot can be hooked up? 开发者_运维百科I personally prefer Matplotlib but GNUPlot would be fine, too. In my experience the tools I mentioned outperform tools like flot or TheJit for huge data loads.
Any suggestions on creating fast plots from within node.js will be appreciated.
Either use child processes and execute external programs, watch for theit termination and take the output. Or have a look at the node-canvas lib if you want to do it by yourself.
精彩评论