Write some gnuplot scripts. Fix 'static' bug in MyHBPQP