plot issues

Petr Mikulik mikulik at physics.muni.cz
Fri Jun 5 10:45:31 CDT 2009


> >So, how does Octave know/detect whether gnuplot has/has not pdf (any)
> >terminal?
> 
> Ok, it appears I'm confused. On Mac OSX both pdf and pdfcairo are listed in
> GPVAL_TERMINALS. Do I infer correctly that by selecting the "pdf" that gnuplot
> will use pdfcairo terminal driver?
> 
> Regarding how we know what terminals are present we obtain a list from the
> GPVAL_TERMINALS variable. This is done in gnuplot_drawnow.m by ...

Thanks for clarifing this. The "pdf" is that of pdflib. I think that 
"pfdcairo" should be the preferred choice of pdf terminal if both "pdf" and 
"pdfcairo" are listed.

Thus I propose for pdf output:
- if "pdfcairo" is present => use "set term pdfcairo"
- if "pdf" is present => use that
- if none of them => use "set term postscript" + ps2pdf

---
PM


More information about the Bug-octave mailing list