static void Main(string[] args) { // http://plplot.org/examples.php?demo=02 using (var pl = new PLStream()) { pl.sdev("png"); pl.sfnam("imagerect%n.png"); pl.sfam(1, 1, 10); // pl.gfam(out int p_fam, out int p_num, out int p_bmax); pl.init(); demo1(pl); demo2(pl); } }