[plot] bug fix: use pdf as default format
[plot] ImageMagick and gnuplot check

* ImageMagick convert(1) existence
* gnuplot pdfcairo support