Navigation:  »No topics above this level«

Scaling Code

Print this Topic Return to chapter overview

The low byte of the scaling code indicates what type of scaling the plot should use. Currently supported values are:

 

1Linear X, Linear Y
2Linear X , Logarithmic Y
3Logarithmic X, Linear Y
4Logarithmic X, Logarithmic Y
5Tripartite grid
6Linear X - Probability Y
7Grain Size Distribution
8Polar coordinates
9Bar chart
10Logarithmic X, Probability Y
11Probability X, Linear Y
12Probability X, Logarithmic Y
13Probability X, Probability Y
14Triangle Plot
15N1.85 Hydraulic Scale
16Mercator Projection

The high byte of the scaling code contains scaling-specific information. Currently, this value is used only for tripartite grids, grain size distributions, and polar coordinates. For all other scale types, this value is reserved for future use and must be 0.

Tripartite grids

The high byte indicates what units to use for the grid. Currently supported values are:

Units Code

Scaling Code

 

 

0

5

 

Hz, inches/sec, inches, and g's

1

261

 

Hz, feet/sec, feet, and g's

2

517

 

Hz, mm/sec, millimeters, and g's

3

773

 

Hz, cm/sec, centimeters, and g's

4

1029

 

Hz, meters/sec, meters, and g's

5

1285

 

Period (seconds), inches/sec, inches, and g's

6

1541

 

Period (seconds), feet/sec, feet, and g's

7

1797

 

Period (seconds), millimeters/sec, millimeters, and g's

8

2053

 

Period (seconds), centimeters/sec, centimeters, and g's

9

2309

 

Period (seconds), meters/sec, meters, and g's

127

32517

 

User-defined units.

Grain size distributions

The high byte indicates what units the grain sizes are in. Currently supported values are:

Units Code

Scaling Code

 

 

0

7

 

Millimeters

1

263

 

Inches

127

32519

 

User-defined units

Polar coordinates

The high byte indicates what units the angular dimensions are in. Currently supported values are:

Units Code

Scaling Code

 

 

0

8

 

Radians

1

264

 

Degrees

A DPlot file saved with "user-defined" units should also contain the miscellaneous identifier "units".

____________________________

See also:

 Linear/Log scaling

 Miscellaneous identifiers

 


Page url: https://www.dplot.com/help/index.htm?scalingcode.htm