emperor: (Default)
posted by [personal profile] emperor at 03:55pm on 15/05/2009 under ,
It's one of those things one never talks about. So we all assume that the way we were taught our onanistic ritual is the One True Way. And then occasionally the taboo is broken, an we find we're wrong. So in the interests of finding out just how wrong:

[Poll #1400393]

Read more... )
Mood:: 'silly' silly
emperor: (Default)
posted by [personal profile] emperor at 06:41pm on 15/05/2009 under ,
Suppose for a moment, I have a 13.5 million-point data file that I want to plot as a scatter-plot. gnuplot will happily produce a plot for me, although it takes a little while, and I need a fair bit of RAM.

The resulting .ps file is 212M, however, and makes evince thrash for absolutely ages before displaying it. Converting it to PDF just makes matters worse (up to 275M). I want to be able to include this figure in a pdfLaTeX document.

Annoyingly, runes of the form time gs -r600 -sDEVICE=pdfwrite -sOutputFile=foo-600.pdf -dNOPAUSE -dSAFER -dBATCH foo.ps actually make matters worse - the resulting PDF is even bigger!

Surely there must be an easy way to simplify ps or PDF files? presumably I could force gs to rasterize by outputting to PNG and then converting back to PDF (how?), but that seems a deeply ugly hack...
Mood:: 'confused' confused

May

SunMonTueWedThuFriSat
        1
 
2
 
3
 
4
 
5
 
6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21
 
22
 
23
 
24
 
25 26
 
27
 
28
 
29
 
30
 
31
 
OSZAR »