[Thread Prev][Thread Next][Index]
[ferret_users] Straight lines
- To: ferret_users@xxxxxxxx
- Subject: [ferret_users] Straight lines
- From: Ashley Watson <ashleywats@xxxxxxxxx>
- Date: Mon, 25 Feb 2008 13:14:31 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=xUXHfYGPEiQ0krGciXLEqgulC6r7AbxKM4oNyULYqdI=; b=dnGnL3zr39FXtp0vxlhHCraYRwBQSBmvmc8A8lZ+S0gbQ3GCP7eQaw3078eVGZ5VNtUuLdroYLYaaHat9cDUbYuTkfujxpY8WcBa1ge23itGwKWTATzK0SrG/lB0V/ZlzlCV/3YMKBPufLkciMp65YLSC+QXaBbW46j9QHF694g=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=t3FYpUSDSq0wXu0ifu18DeF+ZhRK5WE+h/+8cMm8L3EY6sjZnkeS5pEghK1z8xYpi7anCDgoiNEFClUfW4tfsUcWenuZH2chEF+uj3xt9yD5YIsoxxbxuSOXHcUbuSsRFP9XYE4hABRsBnTNgezU+0z1su3RYw6F/yTICknSqmI=
- Sender: owner-ferret_users@xxxxxxxx
Hi ferreters,
I want to draw straight lines at grid boundries to separate my gridboxes (see attached figure). I have done this by noting the values of
XBOXLO and YBOXLO corresponding to gridboxes and then drawing straight lines at these values using POLYGON command. Is there any way to
draw these lines using I, J indices rather than X,Y values??
Here are commands I used to draw the lines:
yes? show data
currently SET data sets:
1> HEAD_OUT.NC (default)
name title I J K L
HT Elevation 1:150 1:89 ... 1:1
set reg/I=62:66/J=43:47
Let YT1 = {47.012,47.012,47.105,47.105,47.198,47.198,47.292,47.292} !horizontal lines (ypts)
Let XT1 = {11.87927,12.55549,12.55549,11.87927,11.87927,12.55549,12.55549,11.87927} !horizontal lines(xpts)
Let YT = {46.919,47.384,47.384,46.919,46.919,47.384,47.384,46.919} !vertical lines (ypts)
Let XT = {12.01452,12.01452,12.149,12.149,12.285,12.285,12.42,12.42} !vertical lines (xpts)
shade ht
POLYGON/nolab/over/color=1/thick=1.1 xt, yt, 0
POLYGON/nolab/over/color=1/thick=1.1 xt1, yt1, 0
Thanking in Anticipation
Ashley
Attachment:
gridlines.gif
Description: GIF image
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement