|
From: <mw...@gm...> - 2007-05-24 14:58:18
|
Hi,
I think that "terminal eepic" plots the symbols too high, which makes the plot look wrong. This happens if the symbol is not cross shaped
like the symbols used for pt 1, pt 3.
I have used the following gnuplot commands:
set terminal eepic color rotate
set output "eepic.tex"
plot [0:pi] sin(x), "sin.dat" u 1:3 pt 1 t "pt 1", \
"sin.dat" u 1:4 pt 2 t "pt 2", "sin.dat" u 1:5 pt 3 t "pt 3", \
"sin.dat" u 1:6 pt 4 t "pt 4", "sin.dat" u 1:7 pt 5 t "pt 5", \
0.1 t "", 0.2 t "", 0.3 t "", 0.4 t "", 0.5 t ""
The plot is included into a LaTeX document:
\documentclass{article}
\usepackage{eepic}
\usepackage{color}
\usepackage{latexsym}
\begin{document}
\begin{figure}
\centering
\include{eepic}
\caption{$\sin(x)$ sampled with 10 data points}
\end{figure}
\end{document}
The data "sin.dat" used was:
# x sin(x) sin(x) sin(x) sin(x) sin(x) sin(x)
0.3183099 0.31296180 0.31296180 0 0 0 0
0.6366198 0.59448077 0.1 0.59448077 0 0 0
0.9549297 0.81627311 0.1 0.1 0.81627311 0 0
1.2732395 0.95605566 0.1 0.2 0.1 0.95605566 0.5
1.5915494 0.99978466 0.1 0.2 0.2 0.1 0.99978466
1.9098593 0.94306673 0.1 0.2 0.3 0.2 0.1
2.2281692 0.79160024 0 0.2 0.3 0.3 0.2
2.5464791 0.56060280 0 0 0.3 0.4 0.3
2.8647890 0.27328240 0 0 0 0.4 0.4
3.1830989 -0.04149429 0 0 0 0 0.5
I have attached all files.
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
|