login

qw2xy.gsf

Top / GrADS / script / qw2xy.gsf

Japanese / English

Name

qw2xy() - Convert from world coordinate to XY coordinate on the drawing display.

Synopsis

ret = qw2xy( wx, wy )

Options and Return values

wx, wy
World coordinate.
ret
XY coordinate.

Examples

(1) Draw string by latitude/longitude.

  • test.gs
    'reinit'
    rc = gsfallow( 'on' )
    'open t'
    'd t'
    'setfont normal -base l'
    'draw string 'qw2xy( 140.5, 38 )' <- Sendai'
    

Script source code