Rafael Laboissiere wrote:
* Torquil Macdonald Sørensen <[EMAIL PROTECTED]> [2008-08-08 16:50]:

It is very good that the Debian gnuplot now has pdfcairo output, but it doesn't seem to work perfectly with octave. The following works fine in gnuplot:

set terminal pdfcairo
set output "plot.pdf"
plot [0:1] x

and it gives a very nice pdf. The pdf page size fits perfectly around the plot.

I am just curious: which version of gnuplot are you using?  I have 4.2.3-1
here which does not provide the pdfcairo terminal.

Hm, I forgot that I installed a gnuplot CVS version...., so maybe that's why I have pdfcairo support and you don't. But now I remember, I did it to get PDF support and also the for-loop support in the plot command, which is quite cool.

I needed the for-loop support because the number of functions to plot would be determined by gnuplot at run-time.

Since gnuplot in Debian doesn't even offer the pdfcairo terminal yet, I will send a bug-report to Octave upstream.

Best regards,
Torquil Sørensen



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to