<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812">
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT color=#000080 size=2 face=Verdana>a cbarn.gs file has caused a lot of
attentions.</FONT></DIV>
<DIV><FONT color=#000080>@_@</FONT></DIV>
<DIV><FONT color=#000080>happy everyone</FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana>2009-10-24 </FONT></DIV><FONT
color=#000080 size=2 face=Verdana>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>Yan Libin</SPAN>
</FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG> Diane Stokes </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发送时间:</STRONG> 2009-10-23 23:55:39
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>收件人:</STRONG> GRADSUSR </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG> Re: cbarn.gs </FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV>Esther,</DIV>
<DIV></DIV>
<DIV>You can make a new version of cbarn.gs that includes:</DIV>
<DIV> 'set vpage off'</DIV>
<DIV>after the shading info is stored, but before the plot size is determined.</DIV>
<DIV></DIV>
<DIV>I'm attaching a version I frequently use. It includes extra optional</DIV>
<DIV>arguments to: reset the virtual page (what you want), modify the label</DIV>
<DIV>thickness, and print the values diagonally (useful for horizontal bars</DIV>
<DIV>with many values).</DIV>
<DIV></DIV>
<DIV> I hope this helps.</DIV>
<DIV> Diane</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>Esther Romero Olivares wrote:</DIV>
<DIV>> Thanks!</DIV>
<DIV>></DIV>
<DIV>> But if I have used the "set vpage" command it will plot the legend</DIV>
<DIV>> inside the virtual page defined, even if I don't specified any</DIV>
<DIV>> parameter.</DIV>
<DIV>></DIV>
<DIV>> If I use after the plot "set vpage off" to return to the default state</DIV>
<DIV>> where the real page equals the virtual one it says that does not have</DIV>
<DIV>> any shading information.</DIV>
<DIV>></DIV>
<DIV>> I would like to have many plots but just one legend in the bottom of the</DIV>
<DIV>> page...</DIV>
<DIV>></DIV>
<DIV>> Thanks again!</DIV>
<DIV>></DIV>
<DIV>> Esther.</DIV>
<DIV>></DIV>
<DIV>> El jue, 22-10-2009 a las 14:11, eliav schmulewitz escribió:</DIV>
<DIV>>> Esther</DIV>
<DIV>>> sure you can</DIV>
<DIV>>> if you open the cbarn script that is in the same file as your grads</DIV>
<DIV>>> probably in a file called scripts</DIV>
<DIV>>> it explains as folows:</DIV>
<DIV>>> "run cbarn sf vert xmid ymid</DIV>
<DIV>>> *</DIV>
<DIV>>> * sf - scale the whole bar 1.0 = original 0.5 half the size, etc.</DIV>
<DIV>>> * vert - 0 FORCES a horizontal bar = 1 a vertical bar</DIV>
<DIV>>> * xmid - the x position on the virtual page the center the bar</DIV>
<DIV>>> * ymid - the x position on the virtual page the center the bar</DIV>
<DIV>>> *</DIV>
<DIV>>> * if vert,xmid,ymid are not specified, they are selected</DIV>
<DIV>>> * as in the original algorithm"</DIV>
<DIV>>> good luck</DIV>
<DIV>>> eliav</DIV>
<DIV>>></DIV>
<DIV></DIV></FONT></DIV></BODY></HTML>