AUTOSCALE
Prev | Chapter 3. XML elements and attributes | Next

## AUTOSCALE

### Description

Level: 3rd or 4th

Autoscale handler. Usually, the positions of atoms are scaled so as to fit the window size.

### Parent Elements

GLOBAL LOCAL

### Child Elements

nothing

### Attributes

manual (type:Int) = "0"

  Handler for the position scaling. If the value > 0, automatic scaling is disabled and the value manualscale (see below) is used as the scaling factor. Otherwise (including default), the positions are automatically scaled using the autoscale parameter and stage size.

autoscale (type:Float) = "0.3"

  Scaling factor for the positions. Actual scaling factor is stageWidth * (this value) / (largest abs(x) in xml), where the geometric center of the coordinate is translated to be (0,0,0) automatically.

manualscale (type:Float) = "100.0"

  Positional scaling factor for the manual scaling. See also RADIUS element if you use this.

inherit (type:Int) = "1"

  This parameter is available only inside the GLOBAL. If the value > 0, scaling factor for the positions of the first SCENE is inheritted to the other SCENEs. Usually, this parameter should not be changed.

Prev | Up | Next
LOCAL | Home | ATOM