[pstricks] Re: pst-plot-add

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Tue Nov 18 20:35:08 CET 2003


Pedro Jorge Caridade schrieb:
> Hummm, your example works perfectly, but mine doesn't appear the line
> now. I think the problem is that my yStart=-0.35 and yEnd=0

try again with the new pst-plot-add. I used this file

\documentclass[a4paper]{article}
\usepackage{pst-plot-add}
\usepackage{geometry}

\begin{document}

\begin{center}

\psset{xunit=1cm, yunit=20.0cm}
\begin{pspicture}[](0,-0.35)(7.2,0.05)
\readdata{\fooA}{data0.dat}
\psaxes[linewidth=1.2pt,ticks=none,%
	arrowsize=4pt]{->}(0,0)(0,-0.35)(7.2,0.05)
\psline[linecolor=red,linestyle=dashed](0,-0.35)(7,-0.35)
\listplot[linecolor=red,
	xEnd=7,%
	yStart=-0.35, yEnd=0, plotstyle=dots]{\fooA}
\end{pspicture}
\end{center}
\end{document}



 > \readdata{\fooA}{es.res_tab2}

it is better not to use underscores in filenames. That's the
reason why I changed the name to data0.dat

Herbert


-- 
http://www.pstricks.de/




More information about the PSTricks mailing list