[pstricks] pst-circ in the good version now

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Jun 19 15:40:46 CEST 2014


Am 17.06.2014 19:43, schrieb Patrice MÉGRET:
> I have one question related to this part of code for quadripole:
[...]


>     /X4 exch \pst at number\psxunit div def
>     /XC X1 X2 lt {X2} {X1} ifelse X3 X4 lt {X3} {X4} ifelse add 2 div def
>     /YC Y1 Y3 lt {Y1} {Y3} ifelse Y2 Y4 lt {Y2} {Y4} ifelse add 2 div def 
>     XC YC){C@}
> 
>  
> 
> Why is it /XC X1 X2 lt {X2} {X1} ifelse instead of  X1 X2 lt {X1} {X2}
> ifelse as for all other coordinates?

Patrice,
I cannot remember the reason why. I suppose that there is no one :-)

Herbert






More information about the PSTricks mailing list