[pstricks] problem in psgraph when x and y axes are with negative numbers only

Patrice MÉGRET Patrice.MEGRET at umons.ac.be
Wed May 18 19:11:11 CEST 2016


Dear Herbert,

Thanks a lot, it perfectly works.

Best regards,

Patrice




-----Message d'origine-----
De : PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss
Envoyé : mercredi 18 mai 2016 18:15
À : pstricks at tug.org
Objet : Re: [pstricks] problem in psgraph when x and y axes are with negative numbers only

Am 18.05.2016 um 16:11 schrieb Patrice MÉGRET:

> With \psaxes(-5,-6)(-3,-1), I have to use the keys 
> xlabelPos=bottom,ylabelPos=left to correctly place the labels.
>
> With \begin{psgraph}(-5,-6)(-3,-1){9cm}{5cm}\end{psgraph}, I get the 
> same result as\psaxes(-5,-6)(-3,-1),  but the keys keys 
> xlabelPos=bottom,ylabelPos=left to correct the label positions do not 
> work, so I can never obtain a correct with a frame.

Patrice,
please try the attached version.

Herbert



>
> ðThere is probably a small problem in psgraph as it works for psaxes.
>
> The code below shows an example of the problem.
>
> \documentclass{report}
>
> \usepackage{_pstricks_}
>
> \usepackage{_pst_-plot}
>
> \begin{document}
>
> \begin{pspicture}[showgrid=false](-5,-7)(5,0)
>
> \psaxes[axesstyle=frame,tickstyle=inner,Ox=-5,Oy=-6](-5,-6)(-3,-1)
>
> \end{pspicture}
>
> \begin{pspicture}[showgrid=false](-5,-7)(5,0)
>
> \psaxes[axesstyle=frame,tickstyle=inner,Ox=-5,Oy=-6,xlabelPos=bottom,y
> labelPos=left](-5,-6)(-3,-1)
>
> \end{pspicture}
>
> \begin{_psgraph_}[axesstyle=frame,Ox=-5,_Oy_=-6](-5,-6)(-3,-1){_9cm_}{
> _5cm_}
>
> \end{_psgraph_}
>
> \vspace{_1cm_}
>
> \begin{_psgraph_}[axesstyle=frame,_xlabelPos_=bottom,_ylabelPos_=left,
> Ox=-5,_Oy_=-6](-5,-6)(-3,-1){_9cm_}{_5cm_}
>
> \end{_psgraph_}
>
> \end{document}
>
> Best regards,
>
> Patrice
>
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>




More information about the PSTricks mailing list