<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16609" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Jennifer,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The skip and xlpos option works
nicely!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Only thing with the skip() is that the bars get
spaced quite far appart. Any way I can get them closer to together?</FONT></DIV>
<DIV><FONT face=Arial size=2>If I change the ctl file to 6hr steps, I get the
bars as I need them but the variables seem to return incorrect values.
Gribmap is unhappy reports some errors which I think is part of the
problem.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Steven</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jma@COLA.IGES.ORG href="mailto:jma@COLA.IGES.ORG">Jennifer Adams</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=GRADSUSR@LIST.CINECA.IT
href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, April 18, 2008 6:52
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Bar Charts</DIV>
<DIV><BR></DIV>
<DIV>Yes, skip() works on Z and T -- I will update the
documentation. </DIV>
<DIV><BR></DIV>
<DIV>The "expr" argument must be a 1-D or 2-D grid, and the skipx and skipy
args should really be called skipi and skipj, since they skip over the I and J
dimensions of "expr". </DIV>
<DIV>Jennifer</DIV>
<DIV><BR></DIV><BR>
<DIV>
<DIV>On Apr 18, 2008, at 12:27 PM, Eric Altshuler wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV style="MARGIN: 0px">Hi Jennifer,</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">I thought the skip function was only for horizontal
dimensions (X,Y). You are suggesting that it also works for T (or even
Z)?</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">Eric</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">----- Original Message -----</DIV>
<DIV style="MARGIN: 0px">From: "Jennifer Adams" <<A
href="mailto:jma@COLA.IGES.ORG">jma@COLA.IGES.ORG</A>></DIV>
<DIV style="MARGIN: 0px">To: <A
href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</A></DIV>
<DIV style="MARGIN: 0px">Sent: Friday, April 18, 2008 7:59:33 AM GMT -05:00
US/Canada Eastern</DIV>
<DIV style="MARGIN: 0px">Subject: Re: Bar Charts</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">On Apr 16, 2008, at 8:31 AM, Steven Weiss
wrote:</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">Hi,</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">I solved the 3 hr interval issue below by changing
the ctl file to 6hr</DIV>
<DIV style="MARGIN: 0px">steps. The skip() function would have done the
trick too:</DIV>
<DIV style="MARGIN: 0px">set t 1 last</DIV>
<DIV style="MARGIN: 0px">set x 1</DIV>
<DIV style="MARGIN: 0px">set y 1</DIV>
<DIV style="MARGIN: 0px">d skip(var,2)</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">Can anyone help me on the multiple lines for X
axis???</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">Similar to the time step but I want to do my own
labelling.</DIV>
<DIV style="MARGIN: 0px">The following may achieve your desired result -- I
used 'q gxinfo' to get the x and y limits of the plot, which were</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">Page Size = 11 by 8.5</DIV>
<DIV style="MARGIN: 0px">X Limits = 2 to 10.5</DIV>
<DIV style="MARGIN: 0px">Y Limits = 0.75 to 7.75</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">Then I used these commands:Â</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">'set xlpos -0.4'</DIV>
<DIV style="MARGIN: 0px">'set xlabs k | l | m | n | o '</DIV>
<DIV style="MARGIN: 0px">'set grads off'</DIV>
<DIV style="MARGIN: 0px">'d t'</DIV>
<DIV style="MARGIN: 0px">'set line 0'</DIV>
<DIV style="MARGIN: 0px">'draw recf 1.98 0.27 10.52 Â 0.70'</DIV>
<DIV style="MARGIN: 0px">'set xlpos -0.2'</DIV>
<DIV style="MARGIN: 0px">'set xlabs f | g | h | i | j '</DIV>
<DIV style="MARGIN: 0px">'d t'</DIV>
<DIV style="MARGIN: 0px">'draw recf 1.98 0.47 10.52 Â 0.70'</DIV>
<DIV style="MARGIN: 0px">'set xlpos 0'</DIV>
<DIV style="MARGIN: 0px">'set xlabs a | b | c | d | e '</DIV>
<DIV style="MARGIN: 0px">'set ccolor 1'</DIV>
<DIV style="MARGIN: 0px">'d t'</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">Where t is a 1-dimensional time series. The labels
"a" through "o" can be modified to suit your needs -- they can have more
than one character and will be centered on each tic mark. The 'draw recf'
commands are to cover up the extra axis line that you don't want to see.
Another option is to use 'draw string' for each line of every tic label, but
that may be more work than the above.Â</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">Jennifer</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">Regards</DIV>
<DIV style="MARGIN: 0px">Steven</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">----- Original Message -----</DIV>
<DIV style="MARGIN: 0px">From: "Steven Weiss" < <A
href="mailto:sweiss@IAFRICA.COM">sweiss@IAFRICA.COM</A> ></DIV>
<DIV style="MARGIN: 0px">To: < <A
href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</A> ></DIV>
<DIV style="MARGIN: 0px">Cc: "Steven Weiss" < <A
href="mailto:sweiss@IAFRICA.COM">sweiss@IAFRICA.COM</A> ></DIV>
<DIV style="MARGIN: 0px">Sent: Friday, April 11, 2008 9:26 AM</DIV>
<DIV style="MARGIN: 0px">Subject: Bar Charts</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">Hi,</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">I have 2 questions with regards to bar
charts.</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">1. I have grib in 3hr interval time steps. I want
show a variable over 6hr</DIV>
<DIV style="MARGIN: 0px">time steps. e.g Â<SPAN
class=Apple-converted-space> </SPAN>t 1, t 3, t 9 etc.. I cannot see
any obvious way to do</DIV>
<DIV style="MARGIN: 0px">this</DIV>
<DIV style="MARGIN: 0px">from within a script.</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">2. How can I print the x axis labels over multiple
lines. I notice that by</DIV>
<DIV style="MARGIN: 0px">default when the x axis labels are time steps, it
prints the time,month</DIV>
<DIV style="MARGIN: 0px">and</DIV>
<DIV style="MARGIN: 0px">year of 3 lines. How can I embed a line break into
the label?</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">Regards</DIV>
<DIV style="MARGIN: 0px">Steven</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">--</DIV>
<DIV style="MARGIN: 0px">Jennifer M. Adams</DIV>
<DIV style="MARGIN: 0px">IGES/COLA</DIV>
<DIV style="MARGIN: 0px">4041 Powder Mill Road, Suite 302</DIV>
<DIV style="MARGIN: 0px">Calverton, MD 20705</DIV>
<DIV style="MARGIN: 0px"><A
href="mailto:jma@cola.iges.org">jma@cola.iges.org</A></DIV></BLOCKQUOTE></DIV><BR>
<DIV><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2">
<DIV>--</DIV>
<DIV>Jennifer M. Adams</DIV>
<DIV>IGES/COLA</DIV>
<DIV>4041 Powder Mill Road, Suite 302</DIV>
<DIV>Calverton, MD 20705</DIV>
<DIV><A href="mailto:jma@cola.iges.org">jma@cola.iges.org</A></DIV>
<DIV><BR class=khtml-block-placeholder></DIV><BR
class=Apple-interchange-newline></SPAN></SPAN></SPAN></DIV><BR></BLOCKQUOTE></BODY></HTML>