This example demonstrates different axis scaling options including logarithmic and symmetric logarithmic (symlog) scales.
scale_examples.f90
- Source codelog_scale.png/pdf/txt
- Logarithmic scale examplesymlog_scale.png/pdf/txt
- Symmetric logarithmic scale examplemake example ARGS="scale_examples"
ASCII output preview:
Log Scale Example
+--------------------------------------------------------------------------------+
|10000 * |
| |
|1000 * |
| |
|100 * |
| |
|10 * |
| |
|1+--------+----------+----------+----------+----------+--------+ |
0 2 4 6 8 10 |
+--------------------------------------------------------------------------------+
x
log(y)
Full ASCII Output: Download log_scale.txt | ASCII Format Guide
ASCII output preview:
Symlog Scale Example
+--------------------------------------------------------------------------------+
|100 * |
| |
|10 * |
| |
|1 * |
|0 * * * * |
|-1 * * |
| |
|-10 * |
| |
|-100 * |
+--------+----------+----------+----------+----------+--------+ |
-10 -5 0 5 10 15 |
+--------------------------------------------------------------------------------+
x
symlog(y)
Full ASCII Output: Download symlog_scale.txt | ASCII Format Guide