[Xy-pic] Squeezed Circles
John G. Michopoulos
johnM@cms002.nrl.navy.mil
Thu, 23 Jan 2003 08:19:37 -0500
Dear Ross!!
Yes your remedy has worked beutifully!
Allow me take this opportunity to
1. Congradulate you and Kristoffer for such a great work done with XY-pic
2. Thank you immensely for your help!
-john m
> -----Original Message-----
> From: Ross Moore [mailto:ross@ics.mq.edu.au]
> Sent: Wednesday, January 22, 2003 4:37 PM
> To: John G. Michopoulos
> Cc: xy-pic@tug.org
> Subject: Re: [Xy-pic] Squeezed Circles
>
>
> > Dear all,
> >
> > I am a newbie on XY-pic and cannot figure out what causes
> the circle nodes
> > of the graph given by the example code below to appear
> squeexed horizontally
> > appearing in fact as elipses!
> >
>
> > \def\Mnode#1{*++[o][F-:thicker]{#1}}
> > \def\Mnodez#1{*++[o][F=:thicker]{#1}}
>
> Try
> \def\Mnode#1{*++=!C[o][F-:thicker]{#1}}
> \def\Mnodez#1{*++=!C[o][F=:thicker]{#1}}
>
> the extra = here is to ensure that the width and height
> of the objects are the same, so the frame will have parameters for
> a square or circle; otherwise a rectangle becomes an ellipse.
>
>
>
> > \def\Lmnode#1#2#3#4{\Mnode{#1}="#1"
> > \POS="O"-(#3,#4)*!R\txt{\small #2} \POS"O" +(-#3,-#4) \POS"O"}
> > \def\Lmnodez#1#2#3#4{\Mnodez{#1}="#1"
> > \POS="O"-(#3,#4)*!R\txt{\small #2} \POS"O" +(-#3,-#4) \POS"O"}
> > %
> > \newdir{|>}{!/5.5pt/\dir{|}
> > *:(1,-.2)\dir^{>} *:(1,+.2)\dir_{>}} % define open trig arrow head
> > %
> > % \xyoption{color}
> > % \xyoption{line}
> > Why are the circles squeezed?
> > $$
> > \xymatrix { \Mnode{00} {\ar @*{[thicker]}[rr]^-{NEW2}} & &
> > *++[o][F-:thicker:red]{01}
> > \ar[rr]^{\varphi\bot,a} {\ar @{|>}[dr]^{label2}} & \hole
> &\Mnodez{02} \\
> > & \Lmnode {06}{$T_{uv}$}{-7.0}{-6.0}&& \Mnode{04} \ar
> > @^{>}[r]^{over}& \Lmnodez {05}{$S_{uv}$}{-7.0}{-6.0} \ar
> > @^{>}[l]^{under} }
> > $$
>
> Just guessing, but...
>
> ... in \xymatrix there is an \everyentry (or is it
> \entrymodifiers) macro
> that applies modifiers to every cell in the matrix.
> This typically includes the !C and maybe also = to get a well-balanced
> layout.
>
>
> Hope this helps,
>
> Ross Moore
>
>
> > %
> > \end{document}
> > =======================snip========================
> >
> > Thank you greatly!
> >
> > -john m
> >
> > =========================================
> > Dr. John G. Michopoulos
> > Naval Research Laboratory, Code 6303
> > Computational Mutliphysics Systems Lab
> > Washington DC 20375, USA
> > tel.202.767.2189 fax.202.767.9181
> > e-mail: john.michopoulos@nrl.navy.mil
> >
> > _______________________________________________
> > Xy-pic mailing list
> > http://tug.org/mailman/listinfo/xy-pic
>