[pstricks] origin labeling and psaxes

Christoph Bersch usenet at bersch.net
Thu Jun 22 09:11:46 CEST 2006


Doris Wagner wrote:
>> Hope my question was clear :-)
>>
>> Thanks for your help
>> Christoph
>>
> 
> hi christoph,
> perhaps this one:
> \begin{pspicture}(-3,-3)(5,5)
> \psaxes[Dx=2,Dy=2](0,0)(-3,-3)(5,5)
> \end{pspicture}

This does not fit my needs, as in your case the x-axis shifts up (I
forgot to mention this)

I have found a way to solve my problem:

\documentclass{article}
\usepackage{pst-plot}
\usepackage{pstricks-add}
\begin{document}

\begin{pspicture}(-3,-3)(5,5)
\psaxes[Dx=2,Dy=2,xAxis=false](-3,0)(-3,-3)(5,5)
\psaxes[Dx=2,Dy=2,yAxis=false](0,-3)(-3,-3)(5,5)
\psframe(-3,-3)(5,5)
\end{pspicture}
\end{document}

I need this latter \psframe, as axesstyle=frame does not work in
combination with x|yAxis.

Thanks
Christoph



More information about the PSTricks mailing list