2. 设置打印机:
打印机和传真->右击HP LaserJet 6P/6MP PostScript(或其它的ps打印机)->属性->常规->打印首选项->布局->高级->文档选项- >PostScript选项->PostScript输出选项: 内嵌的PostScript(EPS)
3. 处理打印的文件:
把打印完成的ps文件用ghostview打开,文件->ps to eps,并选中自动检测边界。这样就可以生成效果极佳的EPS文件了。
eps 图像万能但是愚蠢的办法,是虚拟彩色打印机,分辨率确实高,但是虚拟打印重新得到的eps图像文件的分辨率与打印机设置有关,因为生成的文件有可能比原始文件大很多很多,完全没有必要。因此强烈推荐jpeg2ps这个小软件,命令行转化一下即可。数据作图只需用origin导出即可;若用gnuplot,也很方便。
]]>
It seems a lot of stuff is attributed to Gauss…
either he was really smart or he has great press agent.
May be he just had a magnetic personality.
最近在看《具体数学 Concrete mathematics》,这是一本值得计算机相关专业任何年级的同学阅读的书。
第一章通过三个问题:The Tower of Hanoi; Lines in the Plane; The Josephus Problem. 前两个问题以前学习的深度已经够了,所以看了没有太大感觉,Josephus Problem的解决给了我很大的震撼。一个看似平常而无捷径的问题,通过用二进制表示,最终居然只要用一个循环移位就能解决。之后又扩展到 Josephus方程一般形式。其间,他的解题方法论很重要,以及其严谨的思路和发散的思维。
现列出书中第一章使用的解题方法:
- Look at small cases. This gives us insight into the problem and helps us in stages 2 and 3.
- Find and prove a mathematical expression for the quantity of interest.
- Find and prove a closed form for our mathematical expression.
已经翻译完成The Josephus Problem小节。对此感兴趣的点此下载(版本1.1.1,2007-12-23)。
]]>