# [pstricks] doesn't work the way it should

Germi Camps gcampsbarjau at gmail.com
Tue Mar 28 15:03:33 CEST 2006

En/na Jean-Côme Charpentier ha escrit:
> Uuuh? :-)
>
> With the code send by Germi, as far as I understand the problem, the
> mistake is only about (many many) spurious spaces.
> I haven't think very hard : I have just put "%%%" everywhere it seems
> necessary (Some of them are certainly useless!) Then I changed
> "-0.1432" to "0" and the result seems good, isn't it?
>
> I don't see immediately that you (Germi) wrote a macro \SmithChart
> which are 320 lines long! Imho, it's much better to split this macro
> in several more little ones... it would be more human readable.
>
>
ok, in fact I don't know the significance of %%%, so I don't use it... I
don't know many things about PSTricks. So, putting %%% everywhere works,
and it's not necessari to put that ugly \rput(-0.1432,0)...
but now the problem I still have is that of the labels on the arcs...
any suggestion? I have seen that if I don't calculate the rotation
angle, the labels are put on the right place, but of course the rotation
angle is 0. if I calculate the rotation angle but not the position, the
angle is OK but of course not the label position. I resend the code of
this last part:

\multido{\n=0.2+0.2}{5}{%%%
\def\ics{1}%%%
atan rotate} \scalebox{0.75}{\textbf{\tiny\n}}}}}

I know that my code is not easily readable... I will modify it and make
it better when everithing works ok.

thank you again Herbert and Jean-Côme (and everyone that helps!)

Germi

--
Germinal Camps Barjau
gcampsbarjau at gmail.com
669 38 39 56
93 456 35 94
www.gratisweb.com/germicamps