|
CIRCLEName:
Coordinates for the circle can be specified in the following ways:
where <x1> is a number or parameter in the decimal range 0 to 100 that specifies the x coordinate for one end of the diameter of the circle; <y1> is a number or parameter in the decimal range 0 to 100 that specifies the y coordinate for one end of the diameter of the circle; <x2> is a number or parameter in the decimal range 0 to 100 that specifies the x coordinate for the other end of the diameter of the circle; This syntax is used for absolute screen units.
where <x1> is a number or parameter that specifies the x coordinate for one end of the diameter of the circle; <y1> is a number or parameter that specifies the y coordinate for one end of the diameter of the circle; <x2> is a number or parameter that specifies the x coordinate for the other end of the diameter of the circle; and <y2> is a number or parameter that specifies the y coordinate for the other end of the diameter of the circle. This syntax is used for absolute data units.
where <x1> is a number or parameter that specifies the x coordinate for one end of the diameter of the circle; <y1> is a number or parameter that specifies the y coordinate for one end of the diameter of the circle; <x2> is a number or parameter that specifies the x coordinate for the other end of the diameter of the circle; and <y2> is a number or parameter that specifies the y coordinate for the other end of the diameter of the circle. This syntax is used for relative screen units.
where <x1> is a number or parameter that specifies the x coordinate for one end of the diameter of the circle; <y1> is a number or parameter that specifies the y coordinate for one end of the diameter of the circle; <x2> is a number or parameter that specifies the x coordinate for the other end of the diameter of the circle; and <y2> is a number or parameter that specifies the y coordinate for the other end of the diameter of the circle. This syntax is used for relative data units.
CIRCLE 50 50 60 50 CIRCLE 20 20 30 30 CIRCLE 50 50 10 10 CIRCLE RELATIVE 50 50 10 10 CIRCLE DATA 250 125 345 420
You can turn off this correction with the command
To turn the correction back on, enter
1997/07: Added support for data units 2014/08: Added support for SET CIRCLE CORRECTION command
ERASE
CIRCLE 10 10 20 20
CIRCLE 60 10 80 30
.
THICKNESS 0.7
CIRCLE 10 30 20 40
THICKNESS 0.2
.
LINE DASH
CIRCLE 10 50 20 60
LINE SOLID
.
LINE COLOR G50
CIRCLE 10 80 20 90
LINE COLOR BLACK
.
REGION FILL ON
CIRCLE 30 30 35 35
REGION FILL COLOR G50
CIRCLE 40 40 60 60
.
FILL ON
FONT SIMPLEX
MOVE 40 80
TEXT CIRC() DRAW A CIRCLE WITH THE TEXT COMMAND
Program 2:
.
. Step 1: Read the data
.
skip 25
read circle.dat x1 y1 x2 y2 x3 y3 x4 y4
skip 0
.
let x1=x1/1000
let y1=y1/1000
let x2=x2/1000
let y2=y2/1000
let x3=x3/1000
let y3=y3/1000
let x4=x4/1000
let y4=y4/1000
.
. Step 2: Plot points
.
xgrid
ygrid
title Overlapping Plot Circles
x1Label X
y1Label Y
xlimits 322 335
ylimits 6389 6404
.
characters . . * *
character color black black red blue
lines blank blank blank
pre-sort off
.
retain x3 y3 subset x3 > -100 subset y3 > -100
retain x4 y4 subset x4 > -100 subset y4 > -100
.
plot y1 x1 and
plot y2 x2 and
plot y3 x3 and
plot y4 x4
.
. Step 3: Draw circles on plot, note the elliptical
. shape of the circles
.
set circle correction off
thickness 0.1
character blank
line solid
.
. Center_1 327.4122 6397.1038
.
line color red
circle data 322.4122 6397.1038 332.4122 6397.1038
.
. Center_2 328.4241 6395.2006
line color blue
circle data 323.4241 6395.2006 333.421 6395.2006
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 01/31/2015 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||