<pre>Herbert wrote:<br><br>&gt;it makes no sense to modify the macro, because someone can<br>&gt;use a frame, but put the origin elsewhereor writing<br>&gt;\psaxes[Oy=-2,axesstyle=frame](0,0)(0,-2)(6,2)<br>&gt;then the \psxTick(3.5){3.5} is correct<br>
<br>Herbert, thank you for your quick answer.<br>From my point of view, the frame has nothing to do whith it.<br>In case (0,0) is a nice origin in the figure, then there is no<br>problem, as in your example. But some times we want to have <br>
the axes in other place (and psaxes allows this perfectly!).<br><br>For instance, in the example of pstricks-add-doc,<br>xylogBase (23.17.1):<br><br>\begin{pspicture}(-3.5,-3.5)(3.5,3.5)<br>  \psplot[linewidth=2pt,linecolor=red]{0.001}{3}{x log}<br>
  \psaxes[xylogBase=10,Oy=-3,Ox=-3]{-&gt;}(-3,-3)(3.5,3.5)<br>  \uput[-90](3.5,-3){x}<br>  \uput[180](-3,3.5){y}<br>  \rput(2.5,1){$y=\log x$}<br><br>  \psyTick(3){y_3}   %ADDED TO CHECK psyTick<br>  \psxTick(3){x_3}   %AND psxTick<br>
\end{pspicture}<br><br>psxTick don&#39;t draw the tick in the axis (3,-3), but in<br>the middle of the figure, (3,0). Same for psyTick.<br>These macros are very useful as they are but <br>personally, I think that they should draw in the axis, even if<br>
the origin is not (0,0). I don&#39;t know if this is easy. <br><br>I can do it as I mentioned before<br>\rput(0,-3){\psxTick(3){3}}} but the motivation for my question<br>is that I am writing a macro that plot several boxplots in a<br>
graph. And in some cases, the range of the data does not include<br>the 0. (As in all the wikipedia examples for boxplot). <br>Then, I need to pass the position of the x axis<br>to the macro, to label the boxplot. I can avoid this<br>
parameter is psxTick put the label in the axis or if I knew<br>any defined variable that points to the<br>position of the x-axis (in this example, y=-3).?<br><br>Best Regards,<br>Kin<br><br></pre>