NAME
AzimuthElevationOfPlanet:
Get the azimuth or elevation (altitude) of a planet for the current horoscope.
USAGE
AzimuthElevationOfPlanet nplanet [-elevation | -azimuth]
PARAMETERS
nplanet: number of the planet to get the altitude or azimuth from.
OPTIONS
-azimuth: return the azimuth of the planet
-elevation: return the altitude (elevation) of the planet.
If no option is given, Proastro will return the elevation of the planet.
RETURN
The elevation or azimuth of the planet, in decimal degrees.
Remark:
North azimuth is 0°, East is 90°, South is 180 and West is 270°.
Elevation is negative if the star or planet is under the horizon, positive if it is above horizon.
EXAMPLE
# open a horoscope file
SetCurrentHoroscope
PutTxt "-------Azimuth and elevation of planets-------"
for {set i 0} {$i < 15} {incr i} {
PutTxt "[NameOfPlanet
$i]: Elevation = [AzimuthElevationOfPlanet $i -elevation] Azimuth = [AzimuthElevationOfPlanet $i -azimuth]"
}
Output:
-------Azimuth and elevation of planets------- Sun: Elevation = -38.6116421897 Azimuth = 6.5797239353 Moon: Elevation = 41.4266279404 Azimuth = 124.143615425 Mercury: Elevation = -31.4746640228 Azimuth = 16.9680399558 Venus: Elevation = -46.0329352062 Azimuth = 313.126728576 Mars: Elevation = -41.7339792175 Azimuth = 292.688518359 Jupiter: Elevation = 15.8816178428 Azimuth = 73.0819933404 Saturn: Elevation = 32.3758533991 Azimuth = 194.585016325 As: Elevation = -7.35777121008e-07 Azimuth = 56.5749195771 M.H.: Elevation = 41.0471078943 Azimuth = 180.0 Rahu: Elevation = 29.9616210812 Azimuth = 90.0984429128 Ketu: Elevation = -29.9336277613 Azimuth = 270.098442913 Uranus: Elevation = -34.8715431177 Azimuth = 12.950812982 Neptune: Elevation = -38.9820159076 Azimuth = 292.656485971 Pluto: Elevation = -23.6075966908 Azimuth = 4.83541331297 Fortune: Elevation = 31.76742326 Azimuth = 200.180987055