Christoffer Kjølbæk I have a blog, therefore I am…

22Mar/070

OpenOffice, gnuplot/Matlab and eps with preview

Making eps graphs in gnuplot and Matlab, makes very nice printouts. But neither gnuplot or Matlab makes eps files with preview, which makes OpenOffice using a lot of resources, just to show the plots.

But using the epstool, it is possible to make previews
epstool -t6p in.eps out.eps

The downside is, that the graph isn't pretty in OpenOffice. Furthermore, the PDF export function can make pretty PDF. Instead, you have to print to a ps file, and the use ps2pdf.