<br>
Hi. <br>
<br>
The macro psxTick provided in pstricks-add is very convenient. <br>
It ticks and label the x-axis at a given value. <br>
However, it seems that the y position is assumed to be 0.<br>
If the axes are not plot at y=0, the macro does not put the tick in the axis.<br>
<br>
E.g.:<br>
<br>
\begin{pspicture}(0,-2)(6,2) <br>
\psaxes[Oy=-2,axesstyle=frame](0,-2)(6,2)<br>
\psyTick(0.5){0.5} %ok!<br>
\psxTick(3.5){3.5} %put in (3.5,0) instead of (3.5,-2)<br>
\end{pspicture}<br>
<br>
I don't know TeX to change it. In pstricks-add.tex it seems that psxtick<br>
does not have access to the y value:<br>
<br>
>%% #1 : optional arguments passed to psline<br>
>%% #2 : x value<br>
>%% #3 : label<br>
>\def\psxTick{\pst@object{psxTick}}% idea by Martin Chicoine<br>
>\def\psxTick@i(#1)#2{{<br>
>../..<br>
<br>
Any suggestion?<br>
<br>
Alternatively, I can fix it \rput(0,-2) {\psxTick(3.5){3.5}}<br>
Is there any variable which points to the "-2" (y position of the x axis)?<br>
<br>Thanks in advance,<br>
<br>---<br>My motivation is that I've been working with the psBoxPlot macro. <br>
It works well but the problem is that if there are thousands of data <br>
I have to skip data using nStep or wait everytime I open the document<br>
while postscript makes their computations. Finally I decided to compute the values of <br>
the boxplot offline. I have preparred one macro for ploting the bar with the <br>
edges and labeling it. Everything works ok when the origin is (0,0) <br>but I have the above problem to label each boxplot in the origin is (0,Oy).<br><br><br>