[gradsusr] R: R: plot name city on the maps

Gianni Cena giannicena at alice.it
Tue Aug 3 03:06:54 EDT 2010


Problem solved.
Thank you !

Gianni Cena

-----Messaggio originale-----
Da: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] Per
conto di Rupak Rajbhandari
Inviato: martedì 3 agosto 2010 05:02
A: GrADS Users Forum
Oggetto: Re: [gradsusr] R: plot name city on the maps

Hi,

As suggested by Amit, I tried for Kathmandu and it works fine for me.

Following is the content of the script file:


'reinit'
'open rfe_0p10_bm_monthly.ctl'
'set gxout shaded'
'set mpdset hires'
'clear'
'd rf'
'q w2xy 85.37 27.70'
x=subwrd(result,3)
y=subwrd(result,6)
'draw mark 3 '%x%' '%y%' 0.15'
*6.817 3.473 0.15'
'draw string 6.817 3.473 KATHMANDU'



cheers!

-rupak



On 8/2/10, Gianni Cena <giannicena at alice.it> wrote:
> Grazie Daniele,
>
> oggi provero' anche se vedo che nei miei script ogni riga di comado
termina
> con ' mentre non in tutte le tue righe e' presente ...
> Da poco mi diletto sul wrf come meteo amatore.
> Ti faro' sapere l'esito.
>
> Gianni Cena
>
> -----Messaggio originale-----
> Da: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org]
Per
> conto di Daniele Gandini
> Inviato: lunedì 2 agosto 2010 09:52
> A: GrADS Users Forum
> Oggetto: Re: [gradsusr] plot name city on the maps
>
> Dear Gianni,
>
> lons and lats are Turin coordinates. You have to convert them
> to xy coordinates and then you can plot city name.
>
> 'q w2xy 'lons' 'lats
>
> xs = subwrd(result,3)
> ys = subwrd(result,6)
>
> * Drawing circle
>    'set line 2'
>    'draw mark 5 'xs' 'ys
> * Drawing name
>    'set strsiz 0.15'
>    'set string 1 bl 0'
>    'draw string 'xs+0.1' 'ys+0.1' 'Turin
>
> Va bin parej?
>
> Ciao ciao.
>
> Daniele
>
>
>
> ----- Messaggio originale -----
> Da: "Gianni Cena" <giannicena at alice.it>
> A: gradsusr at gradsusr.org
> Inviato: Sabato, 31 luglio 2010 17:28:37
> Oggetto: [gradsusr] plot name city on the maps
>
>
>
>
>
> Please,
>
> what is the command for plotting the name of the city over the map with
> grads ?
>
> I want draw the city of Turin over the map of wrfems.
>
> Thank you !
>
>
>
> Gianni Cena
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>

_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr





More information about the gradsusr mailing list