[pstricks] psgraph

Patrice Megret Patrice.Megret at fpms.ac.be
Tue Oct 18 15:12:30 CEST 2005


Dear Herbert,

 

I am using pstricks-add and in particular the environment \psgraph for
which I have some trouble.

 

1. When (x0,y0) is not specified in\psgraph(x0,y0)(xm,ym)(xM,yM),  is it
true that it is (0,0) as indicated in the documentation of october 8,
2005. I tried the following example and I obtain (x0,y0)=(xm,ym) which
is a similar behaviour as with the original \psaxes.

 

2. I tried also to play with xAxisLabelPos and yAxislabelPos but when
using xAxisLabelPos I always get an error and with yAxisLabelPos I don't
see any modification in the ps file.

 

Thanks for your help.

 

Patrice

 

 

\documentclass{article}

 

\usepackage{pstricks}

\usepackage{pstricks-add}

 

 

\begin{document}

 

 

%\psset{showgrid=true}

\psset{llx=-0.5cm,urx=0.5cm,lly=-0.5cm,ury=0.5cm}

\begin{psgraph}(-2,-3)(2,1){10cm}{5cm}

\psline(0,0)(1,1)

\end{psgraph}

 

\psset{yAxisLabel=essai,xAxisLabelPos={0.5cm,0.5cm}}

\begin{psgraph}(0,0)(-2,-3)(2,1){10cm}{5cm}

\psline(0,0)(1,1)

\end{psgraph}

 

\end{document}

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20051018/019346d1/attachment.html 


More information about the PSTricks mailing list