<div>hi muhammad assalamoalayk</div>
<div>a think it script help your.<br><br></div>
<div class="gmail_quote">On Tue, Aug 11, 2009 at 4:56 PM, Muhammad Rahiz <span dir="ltr"><<a href="mailto:muhammad.rahiz@ouce.ox.ac.uk">muhammad.rahiz@ouce.ox.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">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><font color="#888888"><br>
Muhammad Rahiz</font>
<div>
<div></div>
<div class="h5"><br><br><br><br>On 08/11/2009 12:54 PM, Jennifer Faber wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">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 href="mailto:muhammad.rahiz@OUCE.OX.AC.UK" target="_blank">muhammad.rahiz@OUCE.OX.AC.UK</a>><br>
To: <<a href="mailto:GRADSUSR@LIST.CINECA.IT" target="_blank">GRADSUSR@LIST.CINECA.IT</a>><br>Sent: Tuesday, August 11, 2009 11:57 AM<br>Subject: Display error<br><br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">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></blockquote></blockquote></div></div></blockquote></div><br>