Script for DRAW option in LatLon vs inches on virtual screen

Davide Sacchetti davide.sacchetti at ARPAL.ORG
Thu Jul 13 12:06:21 EDT 2006


this is an example of drawing rectangles
cut the example in a file (eg.: draw_rec.gs)

remember to display something before using it (eg.: display SLP)
bye bye
Davide


function main(args)
lo1=subwrd(args,1)
lo2=subwrd(args,2)
la1=subwrd(args,3)
la2=subwrd(args,4)
if(lo1='')
 say 'usage: draw_rec lo1 lo2 la1 la2'
 return
endif

'q w2xy 'lo1' 'la1
x1=subwrd(result,3)
y1=subwrd(result,6)
'q w2xy 'lo2' 'la2
x2=subwrd(result,3)
y2=subwrd(result,6)
'draw rec 'x1' 'y1' 'x2' 'y2



On Thu, 2006-07-13 at 06:00 -1000, Jason E Patla wrote:
> Aloha,
> I couldn't find the answer in the message backlog, so..
> Does anyone know of a script that allows the DRAW option (x, square, circle, etc) via lat-lon coordinates instead of "inches" on the virtual 8.5" x 11" screen?  Eyeballing is becoming a pain!  :)
> Thanks!
> Jason
--
Sacchetti Davide
ARPAL UO3 Centro Meteo Idrologico Regione Liguria - Dir. Scientifica
V.le Brigare Partigiane 2 16121 Genova (I)
tel: +39 010 6437535
mail: davide.sacchetti at arpal.org   web: www.meteoliguria.it



More information about the gradsusr mailing list