I frequently use Python's matplotlib to make figures. I've made my own perl module for making quick plots in perl using matplotlib. I've found matplotlib to make figures inconsistently, and requires a lot more time for me to switch between the languages. So my perl scripts make a python temp file, and execute it. It's not super-efficient, I know, but it saves me time in both writing scripts and reading documentation. Plotting a hash is very easy:
use Matplotlib::Simple 'plot'; plot({ 'output.filename' => 'svg/single.barplot.svg', data => { # simple hash Fri => 76, Mon => 73, Sat => 26, Sun => 11, Thu => 94, T +ue => 93, Wed => 77 }, 'plot.type' => 'bar', xlabel => '# of Days', ylabel => 'Count (Applications)', title => 'Rejections by Days', });
My question: Should I put this module on CPAN?
In reply to viability of new perl module by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |