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