作者ashlem (power in me)
看板LaTeX
標題[問題] 關於插入圖檔
時間Thu Nov 26 22:19:11 2009
小弟在程式碼中打入
\begin{figure}
\centering
\includegraphics{C:/xtemp/4(rho=0.1).eps}
\label{fig:4(rho=0.1)}
\end{figure}
圖檔是用R畫成的histogram
有一整頁
我把程式碼檔和圖檔都放入C下的xtemp
但是compile出來卻是一頁空白
什麼東西都沒有
我原先並沒有把檔案都放進xtemp
compile時就直接給我error
說是找不到檔案
後來放進xtemp 就沒有出現這個錯誤
我原本用TeXnicCenter
compiler不知是pdflatex還是什麼...
沒有成功
後來我用winedt再用cwpdf也是一樣...
究竟是為何他無法顯示出圖呢?
感謝~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.24.152
※ 編輯: ashlem 來自: 140.112.24.152 (11/26 22:26)
1F:推 paulrichman:include理有沒試著直接給圖檔檔名就好 不要給路徑 11/26 22:28
2F:→ ashlem:喔喔 有試過了 結果還是一樣什麼都沒有... 11/26 22:32
3F:推 paulrichman:如果是eps檔 用pdflatex會跑不出圖來 直接會有error 11/26 22:37
4F:→ paulrichman:winedt下 選 Compile Tex Document (F9) 試試看 11/26 22:38
5F:→ ashlem:喔喔 我會了 謝謝~ 11/27 00:16