-
Notifications
You must be signed in to change notification settings - Fork 86
graph linearstyle
Routine to modify the style of all subsequent linear axes. If you want to use standard axes you don’t need to call this function.
Precision specifies the maximum possible number of significant digits printed on the axes. Setting it high gives you the ability to do very fine scales (.9999976 - 1.0000000, for example). Setting it low prevents floating point deviations from showing up on your graphs. A value of 4 (the startup value) is probably the lowest value you will have to choose, and is a good compromise for standard graphs.
Numoff controls at which tick the numbering begins. To start axis numbering at the first tick, set it to 1.
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 default value) is usually satisfactory.
Tnposition is used to control which side of the axis the tick marks protrude, 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 allows you to choose the length of the tickmarks on either side of the axis in units of 1/72 inch. A good standard is 5 (the startup value), creating ticks of length 5 for tickmarks on each side of the axis.
Parameter | Description |
---|---|
g | graph context |
p | precision |
o | numoff |
d | numdist |
t | tnposition |
l | ticlen |
(graph-linearstyle g 4 0 5 1 5)
-
- 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