[pstricks] pst-plot: mirrored ticks with frames

Martin Buchmann Martin_Buchmann at gmx.net
Fri Aug 20 11:49:34 CEST 2004


Hi all,

i hope i didn't miss anything in the docs but i 
want to have a frame as axesstyle and the ticks 
mirrored on the x2/y2 axes. gnuplot's users 
should be familiar with that. Right now i'm doing 
this:

<--- minimal.tex --->

\documentclass[a4paper,12pt]{article}

\usepackage{pstricks-add}

\begin{document}

\def\data%
{%
   0 0
   1 1
   2 4
   3 9%
}

\begin{psgraph}[%
     axesstyle=axes,%
     tickstyle=top%
     ]%
     (0,0)(3.0,9.0){12cm}{9cm}
     \rput(3,9){%
       \psaxes[%
         Ox=3.0,%
         Oy=9.0,%
         labels=none,%
         tickstyle=bottom%
     ](-3,-9)}
     \listplot[dotstyle=*,plotstyle=dots]{\data}
\end{psgraph}

\end{document}

<--- eof --->

Which works fine but is a bit clumsy. Would an 
option 'ticksmirrored' be hard to implement?

Best regards
   Martin

-- 
Glück, das ist einfach eine gute Gesundheit und ein schlechtes Gedächtnis
				-- Ernest Hemingway




More information about the PSTricks mailing list