Why are EPS files generated by gnuplot rotated 90 degrees?
2013-09-30 09:12
561 查看
up vote1down votefavorite | I have an EPS file generated by gnuplot. I used the code:#set term post enh color #set out '1.eps' The EPS file viewer in gsview is horizontal. However, when I include it in my paper the graph is rotated 90 degrees (vertical) I tried set term post enh color port, it doesn't work. However, I found the following code can be used with LaTeX: #set term post enh color eps #set out '1.ps' then use gsview to convert the PS file to EPS. It will be displayed horizontally in LaTeX (but rotated 90 degrees in gsview) How can I get the EPS file such that it is rotated 90 degrees in both? eps gnuplot
| |||
|
1 Answer
activeoldestvotesup vote2down vote | Your first line set term post enh colorsays you want a PS file, while the second line, set out '1.eps'- that you want an EPS file. Gnuplot uses different aspect ratios for PS and EPS output. Use this: set term post enh color eps set ou "1.eps" Here is the result of this Gnuplot file set term post enh color eps set ou "1.eps" and TeX file \documentclass{article} \pagestyle{empty} \usepackage{graphicx} \begin{document} \includegraphics{1} \end{document} EPS file: DVI file: |
相关文章推荐
- OPatch 报错:OPatch needs to modify files which are being used by some processes.
- Why are .goutputstream-xxxxx files created in home folder?
- Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
- Why the same files are copied to /Approot and /Siteroot in Windows Azure WebRole?
- OPatch 报错:OPatch needs to modify files which are being used by some processes.
- After new files are added to primary, rman fails at Standby with ORA-20079: Full Resync From Primary
- DFS-R: Some files are not replicating, why? - DFSR不复制带有临时属性的文件
- OO设计精要:封装,还是封装(有感于“Why getter and setter methods are evil ”by Allen Holub )
- Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted sign...
- 【7】Rotate matrix by 90 degrees
- 每日英语:Why Food Companies Are Fascinated by the Way We Eat
- how to disable pyc files generated by python
- 每日英语:Why Food Companies Are Fascinated by the Way We Eat
- JAVA刚碰见的问题( java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted s
- 异常处理:Jurisdiction policy files are not signed by trusted signers!
- git The following paths are ignored by one of your .gitignore files:
- check how many files are added or modified or deleted by git command and python
- JAVA刚碰见的问题( java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted signer)
- Why are destructors not virtual by default?
- You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.