[pstricks] psgraph

Herbert Voss LaTeX at zedat.fu-berlin.de
Wed Oct 19 16:28:41 CEST 2005


Patrice Megret wrote:

> Please find enclosed the file essai2.tex with some trials, the file essaihv.ps with the new pstricks-add and the file essaipm.ps with my modified version of pstricks-add. 
> 
> Yesterday night, I tried to modify the code and I end up with the following pstricks-add-pm where I only split the test on x(y)Axislabel and replace \uput(#5,0) by \uput(#5,#2) and \uput(0,#6) by \uput(#1,#6). By that way, it seems to work properly. (see graphs 1 -4 in essaipm.ps)
> 
> By the way, there is still a small problem with axisstyle=frame because it frames bewteen (x0,y0) and (xM,yM) instead of (xm,ym) and (xM,yM). (see graph 5 in essaipm.ps)
> 
> I believe that \psgraph should work like \psaxes so when (x0,y0) is not specified the default is (xm,ym) and not (0,0). In that way, both usages of \psaxes and \psgraph are the same and moreover log graphs are correct if (x0,x0)=(xm,ym). For log graphs, if we want the axes to cross at (x0,x0) not equal to (xm,ym) the graph is correct except the logLines options. (see graphs 3-4 in essaipm.ps and in particular graph 4 for wich I had to choose Ox={} and Oy={}; other combinations like Ox=0,Oy=0 do not give the correct result or crashe like Ox={},Oy=0)
> 
> 
> Then I find your new version of pstricks-add this morning and that seems also to work except the scaling to the dimensions of the graph. 
> (see graphs 1-5 in essaihv.ps) 

Patrice,
please try again with
http://perce.de/LaTeX/pstricks-add/pstricks-add.tex

should work now, hopefully ... ;-)

Herbert




More information about the PSTricks mailing list