-
Notifications
You must be signed in to change notification settings - Fork 86
graph logstyle
This function modifies the style of all subsequent logarithmic axes. If you want to use standard axes (described as defaults below) you don’t need to call this function.
Numsel and ticsel allow you to choose the spacing of the numbers and of the tickmarks. Setting bits corresponding to each position will turn on the number or tick according to the following table. Numsel default is 2 (1’s only as in 0.1, 1.0, 10.0, 100.0...), and ticsel default is 1022 (all tick marks).
Numdist controls the distance of the numbers from the end of the ticks. The numbers are placed (fontsize/10)*numdist points away from the ends of the ticks. Numdist=5 (the startup value) is usually satisfactory.
Tnposition is used to control the type of ticks created and which side of the axis the numbers are on. The current choices are:
- ticks left of (below) the axis,numbers left (below)
- ticks through the axis, numbers left (below)
- ticks right (above) the axis, numbers left (below)
- ticks right of (above) the axis, numbers right (above)
- ticks through, numbers right (above)
- ticks left (below), numbers right (above)
Ticlen, and ticlen10 allow you to choose the length of the tickmarks on either side of the axis in units of 1/72 inch. Ticlen10 is for tick marks for powers of 10. A good standard for ticlen is 5 (the startup value), creating ticks of length 5 for tickmarks on each side of the axis.
Parameter | Description |
---|---|
g | graph context |
n | numsel |
t | ticsel |
d | numdist |
p | tnposition |
l | ticlen |
l10 | ticlen10 |
(graph-logstyle g 2 1022 4 1 7 8)
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip