<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Muhammad,<br><br>You need to run the  cbar script.<br> <br style="font-weight: bold;">'run cbar'<br><br>Azar<br><br><br>--- On <b>Tue, 8/11/09, Jennifer Faber <i>&lt;j.faber@WEERONLINE.NL&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Jennifer Faber &lt;j.faber@WEERONLINE.NL&gt;<br>Subject: Re: Display error<br>To: GRADSUSR@LIST.CINECA.IT<br>Date: Tuesday, August 11, 2009, 3:40 PM<br><br><div class="plainMail">Hi Muhammad,<br><br>What I and Karsaz tried to explain is that in your script you use "printim<br>jf.eps". Eps isnt a graphic file type like .gif, .png, etc etc<br>So it should work with printim jf.gif or jf.png, why dont you try that in<br>your script?<br><br>Making averages should not affect saving the file as a picture!<br><br>I hope someone else has a solution for
 your cbar problem.<br><br>Jennifer Faber<br><br><br>----- Original Message -----<br>From: "Muhammad Rahiz" &lt;<a ymailto="mailto:muhammad.rahiz@OUCE.OX.AC.UK" href="/mc/compose?to=muhammad.rahiz@OUCE.OX.AC.UK">muhammad.rahiz@OUCE.OX.AC.UK</a>&gt;<br>To: &lt;<a ymailto="mailto:GRADSUSR@LIST.CINECA.IT" href="/mc/compose?to=GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a>&gt;<br>Sent: Tuesday, August 11, 2009 2:26 PM<br>Subject: Re: Display error<br><br><br>&gt; Hi Jeniffer &amp; karsaz,<br>&gt;<br>&gt; I don't think the problem is with specifying the the background as<br>&gt; white/black because I have used both print and printim commands in my<br>&gt; previous scripts, with success.<br>&gt;<br>&gt; LIke I said, the problem starts when i perform averaging on the<br>&gt; climatology dataset.<br>&gt;<br>&gt; Muhammad Rahiz<br>&gt;<br>&gt;<br>&gt;<br>&gt; On 08/11/2009 12:54 PM, Jennifer Faber wrote:<br>&gt;&gt; Hi Muhammad,<br>&gt;&gt;<br>&gt;&gt; When
 saving the file as a picture you have to specify what kind of<br>&gt;&gt; graphic<br>&gt;&gt; output it should be (png, gif etc etc)<br>&gt;&gt; so:<br>&gt;&gt; " printim JF.gif gif white" or " printim JF.png png white"<br>&gt;&gt; If you write 'white' into the command then the picture is saved with a<br>&gt;&gt; white<br>&gt;&gt; background, if left out it will save as black (default)<br>&gt;&gt; You wrote JF.eps, that is a postscript type. I think that you can use<br>&gt;&gt; when<br>&gt;&gt; you want to open the data in another data proces program like excel.<br>&gt;&gt;<br>&gt;&gt; For you second problem I dont have a solution. You should be able to draw<br>&gt;&gt; cbar or write a title.<br>&gt;&gt;<br>&gt;&gt; Good luck!<br>&gt;&gt;<br>&gt;&gt; Jennifer Faber<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; ----- Original Message -----<br>&gt;&gt; From: "Muhammad Rahiz" &lt;<a ymailto="mailto:muhammad.rahiz@OUCE.OX.AC.UK"
 href="/mc/compose?to=muhammad.rahiz@OUCE.OX.AC.UK">muhammad.rahiz@OUCE.OX.AC.UK</a>&gt;<br>&gt;&gt; To: &lt;<a ymailto="mailto:GRADSUSR@LIST.CINECA.IT" href="/mc/compose?to=GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a>&gt;<br>&gt;&gt; Sent: Tuesday, August 11, 2009 11:57 AM<br>&gt;&gt; Subject: Display error<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&gt; Dear users,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I'm having trouble displaying seasonal average of a variable<br>&gt;&gt;&gt; (climatology). Two specific issues;<br>&gt;&gt;&gt; 1. The output file does not save right (see saved file 'JF.eps' and<br>&gt;&gt;&gt; compare with print screen of original display image, 'screenshot.png').<br>&gt;&gt;&gt; 2. I can't annotate (cbar, title) the image.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I ran the script using both Grads 2.0.a6 and 1.9.b4. The problem<br>&gt;&gt;&gt; persists.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Any suggestions where I went
 wrong?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Muhammad<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; ---------------------------<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; 'open file.ctl'<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; 'set gxout grfill'<br>&gt;&gt;&gt; 'set mpdset hires'<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; 'set lon 79.69 88.47'<br>&gt;&gt;&gt; 'set lat 26.13 30.85'<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; 'set t 1 12'<br>&gt;&gt;&gt; 'rf = ave(tpr,t+0,t=356,12)'<br>&gt;&gt;&gt; 'modify 'rf' seasonal'<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; 'rfx = ave(rf,t=1,t=2)'<br>&gt;&gt;&gt; 'd rfx'<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; 'cbar'<br>&gt;&gt;&gt; 'draw title Jan-Feb'<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; 'printim JF.eps'<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Muhammad Rahiz<br>&gt;&gt;&gt;<br>&gt;<br></div></blockquote></td></tr></table><br>