[pstricks] psxTick , psyTick

Kin Mye kinmye at gmail.com
Thu Apr 23 20:42:40 CEST 2009


Hi, Herbert.

Umm ... I have tried it but it seems that it translates the tick, as rput.
With the coordinates that you give it does not work properly. I need to
write:

\begin{pspicture}(-3.5,-3.5)(3.5,3.5)
  \psplot[linewidth=2pt,linecolor=red]{0.001}{3}{x log}
  \psaxes[Dx=2, Dy=2, xylogBase=10,Oy=-3,Ox=-3]{->}(-3,-3)(3.5,3.5)
  \psyTick[origin={-3,0}](2){y_2}  %% instead of origin={-3,-3}
  \psxTick[origin={0,-3}](2){x_2}   %% instead of origin={-3,-3}
\end{pspicture}

If origin means "axes origin" is a little strange. If you mean "translation"
it is ok.
A simpler syntax could avoid the '0', something like
  \psyTick[Ox=-3](2){y_2}
  \psxTick[Oy=-3](2){x_2}

Anyway, if I need to pass the origin, for me it is ok as it is (or as it
was). I wanted to avoid retyping the origin for each tick but I guess the
origin of the axis is not saved, so retyping is needed.

Thank you again for your time.

Kin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20090423/9dc8cd7e/attachment.html 


More information about the PSTricks mailing list