Examples: simplest basic spiral full
In general, it's probably easier to fiddle with the examples than it is to get everything from the help. But a couple things the examples don't necessarily tell you. Each line is a command. Lines starting # are comments. // can be used to comment the remainder of a line. Commands are executed in order, so if you want a coloured circular background, you need to set the Radius first so that the circle is the correct radius, then call Background so it sits under the remaining graphics, and then call Ticks. It also means you need to start with the biggest circle first.
The simplest example, demonstrating the very basics
Radius 300
Formula log(#)
Ticks 1: 1.2: 1.4: 1.6: 1.8: 2: 2.5: 3: 3.5: 4: 5: 6: 7: 8: 9: 10
XLabels 9.7:C
XTicks pi:π
load simplest
A basic example, demonstrating some things that can be done
Textstyle font-size:6pt;text-anchor: end;
Textdrop 12
TextAngleOffset -0.3
LineStyle stroke:black;stroke-width:0.7;
Spacing 2
Front
# C
Radius 300
Formula log(#)
Background aliceblue
Ticks 1: 1.2: 1.4: 1.6: 1.8: 2: 2.5: 3: 3.5: 4: 5: 6: 7: 8: 9: 10
XLabels 9.7:C
XTicks pi:π
# CF
Radius 280
Formula log(x/pi)
Background white
Ticks 3: 4: 5: 6: 7: 8: 9: 10: 12: 15: 20: 25: 30
XLabels 3:CF
XTicks pi:π
# T
Radius 260
Background aliceblue
Formula log(tan(#))
Ticks 5.7 6: 7: 8: 9: 10: 12: 14: 16: 18: 20: 25: 30: 35: 40: 45
XLabels 5.7:T
# S
Radius 240
Background white
Formula log(sin(#))
Ticks 5.7 6: 7: 8: 9: 10: 12: 14: 16: 18: 20: 25: 30: 35: 40: 45: 50: 60: 70: 80],
XLabels 5.7:S
# ST
Radius 220
Background aliceblue
Formula log(sin(#/10))
Ticks 0.57 0.6: 0.8: 1: 1.2: 1.5: 2: 3: 4: 5: 5.7
Xlabels 5.7:ST
# CI
Radius 200
Background white
Formula -log(#)
Ticks 10 9: 8: 7: 6: 5: 4: 3: 2: 1.5: 1.2 1
XTicks pi:π
XLabels 1:CI
# B
Radius 180
Background aliceblue
Formula log(sqrt(#))
Ticks 1 1.2 1.5: 2: 3: 4: 5: 6: 7: 8: 10: 12 15: 20: 30: 40: 50: 60: 70: 80: 100
XLabels 1:B
# K
Radius 160
Background white
Formula log(pow(#,1/3))
Ticks 1 2: 5: 10: 20: 50: 100: 200: 500: 1000
XLabels 1:K
# L
Radius 140
Background aliceblue
Formula #
Ticks 0 0.1: 0.2: 0.3: 0.4: 0.5: 0.6: 0.7: 0.8: 0.9: 1
XLabels 0:L
Textstyle font-size:6pt;text-anchor: middle;
Textdrop 20
TextAngleOffset 0.3
# LL
Radius 120
Background white
Formula log(log(#))
Ticks 10 20: 50: 100: 1000: 1e4: 1e5 1e6: 1e7 1e8: 1e9 1e10
XLabels 0:LL
basic
Inspired by the USSR KL-1... I'm just looking at the KL-1 now, and the front has, B with PI marked. The back has C (which must be CI with relation to the front?) with single digits for values less than 1, S from 5.7 to 90 and T in a spiral from 1 to 45. This script really shows how you can swtich from front to back and also shows that Radius is actually evaluated code, not just a number. In fact, all the label numbers are also evaluated, which is why you can put "pi" there and it turns into PI.
# OUTER
Spacing 2
TickSizes -20 -15 -12 -8 -5
Textstyle font-size:8pt;text-anchor: start;
TextAngleOffset -0.3
Textdrop -30
LineStyle stroke:black;stroke-width:0.7;
FRONT
# B
Radius 180
Background aliceblue
Formula log(sqrt(#))
Ticks 1: 2: 3: 4: 5: 6: 7: 8: 9: 10
# change the text position for double digits...
Textstyle font-size:8pt;text-anchor: middle;
TextAngleOffset 0
Ticks 10: 20: 30: 40: 50: 60: 70: 80: 90: 100
# PI
Radius 185
XTicks pi:π
BACK
Textstyle font-size:8pt;text-anchor: start;
TextAngleOffset -0.3
# C
Radius 180
Circle stroke:black;strokewidth:0.7
Formula log(#)
Background aliceblue
XLabels 1:1
Ticks 2: 3: 4: 5: 6: 7: 8: 9: 10
# change the tick-size and text drop for values between 1 and 2
Textdrop -22
TickSizes -15 -10 -7 -4 -2
Ticks 1 1.1:1 1.2:2 1.3:3 1.4:4 1.5:5 1.6:6 1.7:7 1.8:8 1.9:9 2
# PI
XTicks pi:π
# INNER
Textstyle font-size:8pt;text-anchor: middle;
Textdrop 30
TextAngleOffset -0.3
LineStyle stroke:black;stroke-width:0.7;
FRONT
TickSizes 20 15 12 8 5
# C
Radius 180
Circle stroke:black;strokewidth:0.7
Formula log(#)
Background aliceblue
XLabels 1:1
Ticks 2: 3: 4: 5: 6: 7: 8: 9: 10
# change the tick-size and text drop for values between 1 and 2
Textdrop 25
TickSizes 15 10 7 4 2
# PI
Ticks 1 1.1:1 1.2:2 1.3:3 1.4:4 1.5:5 1.6:6 1.7:7 1.8:8 1.9:9 2
XTicks pi:π
BACK
# S
Radius 180
Formula log(sin(#))
Ticks 5.7 6: 7: 8: 10
Ticks 10: 12: 16: 20: 25: 30: 40: 50: 60: 70: 80: 90:],
# SPIRAL
# T
Radius 60-50*x
Formula log(tan(#))
Ticks 1: 1.2: 1.5: 2: 3: 4: 5: 5.7 6: 7: 8: 9: 10: 12: 14: 16: 18: 20: 25: 30: 35: 40: 44.999:45
Textstyle font-size:6pt;text-anchor: start;
TextAngleOffset 0.3
basic
A fully featured rule. This one uses Rstart and Rdec to chose a starting value for the radius and then decrement it by a certain amount. It means you can shuffle your scales around until you're happy, without having to redo the radii each time.
Textstyle font-size:6pt;text-anchor: end;
Textdrop 10
TextAngleOffset -0.3
LineStyle stroke:black;stroke-width:0.7;
Spacing 2
FRONT
## Pair 1
InvertTicks
RStart 300
Background white
RDec 17
Circle stroke:black;fill:none;stroke-width:0.7
# C
Formula log(#)
Ticks 1: 1.2: 1.4: 1.6: 1.8: 2: 2.5: 3: 3.5: 4: 5: 6: 7: 8: 9: 10
XLabels 9.7:C
XTicks pi:π
InvertTicks
# CI
Formula -log(#)
Ticks 10 9: 8: 7: 6: 5: 4: 3: 2: 1.5: 1.2 1
XTicks pi:π
XLabels 1.02:CI
## Pair 2
InvertTicks
RDec 13
Background aliceblue
RDec 17
Circle stroke:black;fill:none;stroke-width:0.7
# CF
Formula log(x/pi)
Ticks 3: 4: 5: 6: 7: 8: 9: 10: 12: 15: 20: 25: 30
XLabels pi-0.05:CF
XTicks pi:π
InvertTicks
# CIF
Formula -log(x/pi)
Ticks 30 25: 20: 10: 9: 8: 7: 6: 5: 4: 3
XLabels pi+0.05:CIF
XTicks pi:π
## Pair 3
InvertTicks
RDec 13
Background white
RDec 17
Circle stroke:black;fill:none;stroke-width:0.7
# T
Formula log(tan(#))
Ticks 5.7 6: 7: 8: 9: 10: 12: 14: 16: 18: 20: 25: 30: 35: 40: 45
XLabels 5.7:T
InvertTicks
# S
Formula log(sin(#))
Ticks 5.7 6: 7: 8: 9: 10: 12: 14: 16: 18: 20: 25: 30: 35: 40: 45: 50: 60: 70: 80],
XLabels 5.7:S
## Pair 4
InvertTicks
RDec 13
Background aliceblue
RDec 17
Circle stroke:black;fill:none;stroke-width:0.7
# ST
Formula log(sin(#/10))
Ticks 0.57 0.6: 0.8: 1: 1.2: 1.5: 2: 3: 4: 5: 5.7
Xlabels 5.7:ST
InvertTicks
# L
Formula #
Ticks 0 0.1: 0.2: 0.3: 0.4: 0.5: 0.6: 0.7: 0.8: 0.9: 1
XLabels 0:L
## Pair 5
InvertTicks
RDec 13
Background white
RDec 17
Circle stroke:black;fill:none;stroke-width:0.7
# B
Formula log(sqrt(#))
Ticks 1 1.2 1.5: 2: 3: 4: 5: 6: 7: 8: 10: 12 15: 20: 30: 40: 50: 60: 70: 80: 100
XLabels 1:B
InvertTicks
# K
Formula log(pow(#,1/3))
Ticks 1 2: 5: 10: 20: 50: 100: 200: 500: 1000
XLabels 1:K
## Pair 6
InvertTicks
RDec 13
Background aliceblue
RDec 17
Circle stroke:black;fill:none;stroke-width:0.7
# P
Formula log(sqrt(1-pow(#,2)))
Ticks 0.995 0.99: 0.97: 0.95: 0.9: 0.8: 0.7: 0.6: 0.5: 0.1
XLabels 1:P
InvertTicks
# H
Formula log(sqrt(pow(#,2)-1))
Ticks 1.005 1.01: 1.02: 1.03: 1.04 1.05: 1.1: 1.2: 1.4:
XLabels 1:H
RDec 13
Background white
BACK
## Pair 1
InvertTicks
RStart 300
RDec 17
Circle stroke:black;fill:none;stroke-width:0.7
# C
Formula log(#)
Ticks 1: 1.2: 1.4: 1.6: 1.8: 2: 2.5: 3: 3.5: 4: 5: 6: 7: 8: 9: 10
XLabels 9.7:C
XTicks pi:π
InvertTicks
# CI
Formula -log(#)
Ticks 10 9: 8: 7: 6: 5: 4: 3: 2: 1.5: 1.2 1
XTicks pi:π
XLabels 1.02:CI
## Pair 2
InvertTicks
Radius 160-30*x
# LL0
Formula log(ln(#))
Ticks 1.001: 1.002: 1.003: 1.004: 1.005: 1.006: 1.007: 1.008: 1.009: 1.01: 1.02: 1.03: 1.04: 1.05: 1.06: 1.07: 1.08: 1.09: 1.1: 1.15: 1.2: 1.3: 1.4: 1.5: 1.6: 1.7: 1.8: 1.9: 2: 2.5: 3: 4: 10: 20: 50: 100: 1000: 10000: 1e5
XTicks e:e
XLabels 2e4:LL
InvertTicks
Formula log(-ln(#))
Ticks 0.999: 0.9985: 0.998: 0.997: 0.996: 0.995: 0.994: 0.993: 0.992: 0.991: 0.990: 0.985 0.98: 0.97: 0.96: 0.95: 0.94: 0.93: 0.92: 0.91: 0.90: 0.85 0.8: 0.7: 0.6: 0.5: 0.4: 0.3: 0.2: 0.1: 0.05: 0.01: 0.005: 0.001: 0.0005: 0.0001: 0.00009
full