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

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed May 18 18:15:24 CEST 2016


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,ylabelPos=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/
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pst-plot.tex
Type: text/x-tex
Size: 103770 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20160518/b0b4e3ab/attachment-0001.bin>


More information about the PSTricks mailing list