[pstricks] No ticks at origin.
David Arnold
dwarnold45 at suddenlink.net
Mon Dec 15 02:37:18 CET 2008
All,
Anyway I can turn off ticks at the origin? See the small cross
produced in this image at the origin?
\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[dvipsnames]{pstricks}
\usepackage{pstricks-add,auto-pst-pdf,preview}
\PreviewEnvironment{psgraph}
\begin{document}
\begin{center}
\psset{xAxisLabel=$x$,yAxisLabel=$y$}
\begin{psgraph}[trigLabels,trigLabelBase=2,dx=\psPiH]{<->}(0,0)
(-0.5,-3)(3.5,3){0.6\linewidth}{2in}
\psplot[linecolor=blue,linewidth=1pt,algebraic]{0}{\psPi}{2*cos(2*x)}
\end{psgraph}
\end{center}
\end{document}
Thanks.
D.
More information about the PSTricks
mailing list