[pstricks] bardiagram

Vince McGarry vmcgarry at austin.rr.com
Wed May 18 21:06:23 CEST 2005


Hi

When using bardiag I noticed some text clipped when using ps4pdf.  
This is probably due to the programs called by the script I am using.  
In particular in

\bardiagramend{bottom}{side}

bottom and side are clipped. I noticed that the command \bardiagramend 
{}{} has, in part,

    \ifthenelse{\bdorientation = \bdvert}
     {   \rput[c](\hordiagcenter,-0.9\bottomheight){{#1}}
         \rput[c]{90}(-\captionoffset,\vertdiagcenter){{#2}} % ????  
-2cm ?
     }
     {   \rput[c](\hordiagcenter,-0.9\bottomheight){{#2}}
         \rput[c]{90}(-\captionoffset,\vertdiagcenter){{#1}} % ????  
-2cm ?
     }

to draw the text. I found that I have no clipping if I write

    \ifthenelse{\bdorientation = \bdvert}
     {   \rput[b](\hordiagcenter,-0.9\bottomheight){{#1}}
         \rput[t]{90}(-\captionoffset,\vertdiagcenter){{#2}} % ????  
-2cm ?
     }
     {   \rput[b](\hordiagcenter,-0.9\bottomheight){{#2}}
         \rput[t]{90}(-\captionoffset,\vertdiagcenter){{#1}} % ????  
-2cm ?
     }

changing the positioning argument. Do you see any problem with this?

Vince McGarry




More information about the PSTricks mailing list