我发现我把图放大后(全屏)"save as" 存成“eps”文件,但是图被砍了一半,也可 能是我的图太大了。如果我没有用全屏存,那么save as 后的eps文件就和matlab里打 出的图片是一样的。 谢谢你!
k*f
4 楼
Try this in matlab: print -deps2c figure or use the function style: print('-deps2c', 'figure'); % this support variable as esp file name. check print's document for details.
Here's what I use: \usepackage{graphicx} % % other stuff % \begin{figure} \centering \includegraphics{myfigure} \caption{Caption of the figure} \label{fig:myfigure} \end{figure} This should work for latex with DVI or DVI->PS output. If you run pdflatex directly, you need to convert the eps figure to pdf file using epstopdf. If you still have questions, please post your code here. Good luck.
t*h
7 楼
hi, 再次谢谢你了,我弄出来了,真是frustrating. In matlab, I use: "print -depsc -tiff picture" In Latex, I used: \usepackage{graphicx,epsfig} \begin{figure} \begin{center} \psfig{figure=picture.eps,height=10cm,width=16cm} \caption{{...} \end{center} \end{figure} 看来你是老手了,哈哈!
【在 k**f 的大作中提到】 : Here's what I use: : \usepackage{graphicx} : % : % other stuff : % : \begin{figure} : \centering : \includegraphics{myfigure} : \caption{Caption of the figure} : \label{fig:myfigure}
Hi, Thank you again. I tried to download the pdf file you send to me but failed. it seems that there is no such file. is there any other access? Thanks. 另外,谢谢你提醒我 "tiff",我再在matlab 里面试试。 我对电脑不熟悉,只知道我的 电脑是Windows, 不是其它系统。 Have a nice weekend to you too!
Just tried the ftp link with Firefox and IE, both are able to download the file. You may want to try this http link: http://www.ctan.org/get/info/epslatex/english/ where you can download either the PS version or the PDF version. Good luck.
【在 t**********h 的大作中提到】 : Hi, Thank you again. : I tried to download the pdf file you send to me but failed. it seems that : there is no such file. is there any other access? Thanks. : 另外,谢谢你提醒我 "tiff",我再在matlab 里面试试。 我对电脑不熟悉,只知道我的 : 电脑是Windows, 不是其它系统。 : Have a nice weekend to you too!
t*h
12 楼
谢谢你,我下载下来了。 have a good weekend.
【在 k**f 的大作中提到】 : : Just tried the ftp link with Firefox and IE, both are able to download the : file. You may want to try this http link: : http://www.ctan.org/get/info/epslatex/english/ : where you can download either the PS version or the PDF version. : Good luck.