Latex problem我想在latex中插入一些自己的experiment result的diagram,是用matlab做的曲线,export为bmp格式,然后再用photoshop转成eps(1bit/pixel, binary),但是一旦把图片缩小到能够插入double column文档的大小,就模糊一片,什么数据都看不清楚了,flow chart也是一样。我用graphics和epsfig两个package都是这样,请问有没有什么办法可以插入清晰的图片?(大小大概只能为250x200左右)[南岳之麓 (6-23 13:23, Long long ago)] [ 传统版 | sForum ][登录后回复]1楼
为什么不用matlab直接export到eps file还有图片的大小可以通过latex的命令进行控制[赫连春水 (6-23 16:21, Long long ago)] [ 传统版 | sForum ][登录后回复]2楼
(引用 赫连春水:为什么不用matlab直接export到eps file还有图片的大小可以通过latex的命令进行控制)I tried bothmatlab直接export到eps的图片效果更差,图片的大小我是先用photoshop缩放,然后按照实际的大小在latex里面设置边框。是不是用latex的自动缩放会好一些?[南岳之麓 (6-23 17:03, Long long ago)] [ 传统版 | sForum ][登录后回复]3楼
Some possible problems:1) Even Photoshop may fail to produce standard EPS file! Trust me or not, the standard EPS format is only a proper subset of PS, and Photoshop (a product of Adobe itself who's the patent holder for PS/EPS formats) doesn't do a good enough job. An alternative that I always use (on Windows, of course), is to install AdobePS drivers (downloadable from Adobe site for free) and set the printer's target to FILE: port, and its output PS format to be "Encapsulated PS" (must modify this manually, or else it will produce non-standard format again). So you can print your graphs/figures to this printer, and get a .prn (or .ps format). Use Ghostscript (+ GSview for GUI) to convert this .prn/.ps file to .eps and automatically compute the bounding box.
2) To get clear picture in double-column mode, there are four points to take note:
a) Try not to draw high-resolution graphics/figures as the source. If you have to do so, use larger types and thicker lines.
b) For graph plotting (line/bar graph), I recommend gnuplot, which produces much better looking graphs when using with LaTeX. It can also produce PS+LaTeX output so that the fonts in your graph can be actually LaTeX typesetted, thus without the problem of scaled fonts.
c) Scale the graph using LaTeX's argument (graphx package and dvips driver are highly recommended) instead of using external graphics software.
d) If your figure/graph is really big, try to use single-column floats in your double-column document.[Flying (6-23 17:36, Long long ago)]
[ 传统版 |
sForum ][登录后回复]4楼
(引用 赫连春水:为什么不用matlab直接export到eps file还有图片的大小可以通过latex的命令进行控制)settled. Thx![南岳之麓 (6-23 20:18, Long long ago)] [ 传统版 | sForum ][登录后回复]5楼