Prev: eps.html Up Next: x11_ps.html
The png terminal

Practical Guide:

plot("filename")....;   // plot something
pdf::print("file.pdf","-w 8cm -h 5cm");

    // print it to an pdf file named file.pdf
    // the second argument is the options to beps2pdf
    // (run  beps2pdf --help  at your shell prompt to get
    // list of options)

This is a terminal derived from blopeps: first a blopeps file is created, and then it is transformed to a pdf file using the beps2pdf tool of blop. The static print(var filename,var opts) function of the pdf terminal can be used to print the current canvas to a file specified by the first argument. The second argument specifies the options to be given to beps2pdf (say beps2pdf --help at your shell prompt for help on these arguments)

Source files:
   pdf.h
   pdf.cc

Prev: eps.html Up Next: x11_ps.html