[pstricks] problems drawing block diagram

Herbert Voss LaTeX at zedat.fu-berlin.de
Tue Dec 12 21:00:57 CET 2006


Patrick Pucholt schrieb:
> Hello,
>
> drawing the attached block diagram I faced some problems
>
> 1. There should be dots marking wire connections. How can I calculate
> such a dot position?
> 2. I used \rnode to define all my blocks as nodes. Somehow the anchor
> point for the node connections seems to be the lower left corner of
> each block so that I have to use alle the ugly offsets
>
> Would be great, if somebody could help me with this ... especially
> with the connection dots.
you have to put the argument of \rput into another pspicture environment.
Otherwise you have the no height and width, and it will always be at the
defined coordinates:

e.g.:
\rput(0,0){\pspicture(1.6,0.8)%
  \rnode{m}{\psframe(0,0)(1.6,.8) \rput{0}(.8,.4){CON}}
  \psline(.15,.8)(.15,1.2) \uput[0](.15,1.2){\small $m^{-1}$}\endpspicture}


Herbert




More information about the PSTricks mailing list