[gradsusr] problem displaying title_legend and figure saving
Adam Bamba
adambamba_2000 at yahoo.com
Thu Feb 28 07:44:19 EST 2013
Dear Abayomi,
thank for your help. I have tried with the script you suggested but it doesn't work.
the problem is still the same:
The tittle and the legend doesn't appear and the figure is not well saved (only a small part of figure appear on the png file).
no error message is seen.
My regards,
Mr. BAMBA Adama,
Cel: +234 816 306 2828(Nigeria)
PhD student in West African Climate System
Programme : the West African Science Service Center
for Climate Change and Adapted Land use (WASCAL)
Federal University of technology Akure (FUTA), Ondo State, Nigeria
>>
>>
________________________________
From: Abatan Abayomi <yomiabatan69 at gmail.com>
To: Adam Bamba <adambamba_2000 at yahoo.com>; GrADS Users Forum <gradsusr at gradsusr.org>
Sent: Wednesday, February 27, 2013 6:16 PM
Subject: Re: [gradsusr] problem displaying title_legend and figure saving
Adama,
All you need to do is include the following in your script:
set string color <justification <thickness <rotation>>>
set strsiz hsiz <vsiz>
draw string x y string
For example:
'set string 1 tc 5 1'
'set strsiz 0.14 0.14'
'draw string 1.14 10.56 (a) Characteristic of xxxxx'
Modify the values, especially in set strsiz and draw string to suite your purpose.
I hope that works for you.
Abayomi
On Tue, Feb 26, 2013 at 5:38 PM, Adam Bamba <adambamba_2000 at yahoo.com> wrote:
Dear Jeff, Saulo, and Duan
>
>
>My problem is that:
>I did a sum over time with GPCP data. Like the following
>example:
>sdfopen.......
>set lat 1 2
>set lon 2 3
>set t 1 30
>define totalpr1=sum(pr, t=1, t=30, 12, -b)
>define totalpr2=sum(pr, t=31, t=60, 12, -b)
>d totalpr1
>draw title .........
>printim figure.png
>..............
>d totalpr3
>I can plot totalpr but the title and the cbarn do not appear and I can not save the figure however it is not showing an error.
>I don't know what to do.
>
> I have Grads v 2.0.1 installed on linux system.
>
>My regards
>
>
>Mr. BAMBA Adama,
>Cel: +234 816 306 2828(Nigeria)
>PhD student in West African Climate System
>Programme : the West African Science Service Center
>for Climate Change and Adapted Land use (WASCAL)
>
>Federal University of technology Akure (FUTA), Ondo State, Nigeria
>
>>>
>>>
>_______________________________________________
>gradsusr mailing list
>gradsusr at gradsusr.org
>http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Trust in the Lord......
*******************************************************************************************
* Abayomi A. Abatan * +1 515 572 4490 (Home) *
* Geo. and Atmos. Sci. * +1 515 294 1321 (Office) *
* Iowa State University, Ames * +1 515 203 9020 (Cell) *
* Iowa. USA. * *
*******************************************************************************************
****************************************************************************************************
* Abayomi A. Abatan * 234-802-724-7846 (out of service) *
* Fed. Univ. of Tech., * 234-803-217-8815 (out of service) *
* SEMS, PMB 704 Akure * *
* Ondo Nigeria. * *
****************************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130228/81400856/attachment-0003.html
More information about the gradsusr
mailing list