[pstricks] psaxes, origin and labels

Hendrik Hoeth hendrik.hoeth at cern.ch
Tue Feb 7 01:02:16 CET 2006


Hi,

I'm trying to make a plot with axestyle=framed and the origin not being
in a corner. This works as long as the y-axis meets the x-axis on a
tick. But I didn't succeed to produce something like this with a single
psaxes command (I guess the same applies for the y-axis, although I
didn't try it):

\documentclass{article}
\usepackage{pst-plot,pstricks-add}
\begin{document}
\begin{pspicture}(-4,-1)(4,10)
   \psaxes[xticksize=5pt,yAxis=false,Ox=0](0,0)(-3.5,0)(3.5,1)
   \psaxes[yticksize=5pt,ticks=y,labels=y,Ox=-3.5,axesstyle=frame](-3.5,0)(-3.5,0)(3.5,8)
\end{pspicture}
\end{document}

Did I miss anything obvious or is this not supported?

Cheers,

    Hendrik

-- 
sh -c 'set 2 1 0 / . - + ^ : , ! %;y=70;for a in $* $*;do x=54;while [ \
${#s} -lt 79 ];do r=0;i=0;for b in % $*;do [ $(((q=r*r)+(t=i*i))) -ge 9\
999 ]&&break;i=$((y+(r*i)/32));r=$((x+(q-t)/64));done;s=$b$s;x=$((x-2))\
;done;y=$((y-6));echo $s;s=;done;'




More information about the PSTricks mailing list