Hi Sushant<br>I send you a little example that allow to draw a rectangle using world coordinates, so you can change the size or change slightly the geographic region selected for your plot and the rectangle will be "anchored" to its geographic position. This small code shoul by used in a *.gs script.<br>
Best regards.<br><br>Lic. Hernán Sala<br>
Instituto Antártico Argentino<br><br><br>*Draw rectangle<br>'set line 7 1 6'<br>lon1= 135<br>lat1= -78<br>'q w2xy 'lon1' 'lat1<br>say result<br>x1 = subwrd(result,3)<br>y1 = subwrd(result,6)<br>lon2= 239<br>
lat2= -70<br>'q w2xy 'lon2' 'lat2<br>say result<br>x2 = subwrd(result,3)<br>y2 = subwrd(result,6)<br>'draw rec 'x1' 'y1' 'x2' 'y2<br><br><br><br><br>