Why are EPS files generated by gnuplot rotated 90 degrees?
来源:互联网 发布:sql查询去掉重复记录 编辑:程序博客网 时间:2024/06/05 19:24
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?
1 Answer
Your first line set term post enh color
says 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 epsset ou "1.eps"
Here is the result of this Gnuplot file
set term post enh color epsset ou "1.eps"plot xset ou
and TeX file
\documentclass{article}\pagestyle{empty}\usepackage{graphicx}\begin{document}\includegraphics{1}\end{document}
EPS file:
DVI file:
- Why are EPS files generated by gnuplot rotated 90 degrees?
- Why are destructors not virtual by default?
- how to disable pyc files generated by python
- Why are .goutputstream-xxxxx files created in home folder?
- 【7】Rotate matrix by 90 degrees
- 学术论文gnuplot eps图片文件
- NSImage rotated degrees—question
- Eclipse下,选项Add variable attributes to generated class files (used by the debugger)的含义
- Why the same files are copied to /Approot and /Siteroot in Windows Azure WebRole?
- Errors Generated by Make
- How to create EPS files...
- Include EPS files in LaTeX
- When I used MyEclipse Persistence Tools,abstract class generated by it all implements java.io.Serializable~~So Why?
- Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
- Why are you crying?
- Why are numbers beautiful?
- Why are you smiling?
- why software are important
- pyhon BeautifulSoup模块的安装
- Objective-C 继承
- centos 安装与操作
- linux命令补全设置
- Hibernate学习笔记
- Why are EPS files generated by gnuplot rotated 90 degrees?
- Top 10 Methods for Java Arrays
- 阿里2014年校园题目最后一题答案及证明
- 分数的求和--char3
- 大小端转换
- CentOS5.5 下搭建 PHP 环境(最佳的LAMP环境)
- 激光夜视系统介绍
- HTML那点事之【超链接】
- iOS7的21个小技巧 土豪不止需要iPhone 5S