[pstricks] \psgrid without numbers? and \psFourier

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Jul 6 22:10:13 CEST 2011


Am 06.07.2011 18:02, schrieb Hendrik Maryns:

> I want to have a grid and axes. Both produce numbers, but I want those
> of the axes, because they are easier to fit to my needs. But maybe
> someone has another suggestion for this:

you do not need \psgrid

\documentclass{scrartcl}
\usepackage{pst-func}
\begin{document}

\psset{plotpoints=500}
\begin{pspicture}(-1,-3)(10,7)
\psaxes[
   showorigin=true,
   axesstyle=frame,
   Dx=20,dx=2,Dy=20,dy=2,
   xticksize=-3 7,xsubticks=5,xsubticksize=1,
   yticksize=0 10,ysubticks=5,ysubticksize=1,
   tickwidth=1pt,tickcolor=black!50,subtickcolor=black!20,
]{->}(0,0)(0,-3)(10,7)
\psFourier[linewidth=1.5pt,linecolor=red,
            cosCoeff=4,sinCoeff=4]{0}{10}
\psFourier[xunit=0.5,
            linewidth=1.5pt,linecolor=blue,
            cosCoeff=4,sinCoeff=4]{0}{20}
\end{pspicture}

\end{document}

Herbert


More information about the PSTricks mailing list