[pstricks] Problems with psgraph

Martin Sievers scharmuetzler at gmx.de
Tue Jul 25 15:42:44 CEST 2006


Hello Herbert,
one more question as I tried to adapt your hints to my document. When I
plot a function the values do not correspond correctly to the x-Axis.
What's the problem there?
Thanks again

Martin


Example:
\documentclass{scrbook}
\usepackage[ngerman]{babel}
\usepackage[latin9]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[prologue,dvipsnames,showerrors]{pstricks}
\usepackage{pst-plot}
\usepackage{pstricks-add}
%
\begin{pspicture}(0,0)(12,9)
\psgrid
\psset{algebraic,Ox=1,Dx=0.05,Dy=5,dx=3cm,
   xAxisLabelPos={7.85,0},xAxisLabel={$d$},yAxisLabel={$n^*$},
   subticks=5,labelFontSize={\small}}%
%
\begin{psgraph}(10,0)(7.9,0)(10,40){12cm}{9cm}%
\psplot{8}{10}{16}
\end{psgraph}
\end{pspicture}




More information about the PSTricks mailing list