manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.7.10 Log-scaled plot

Log-scaled plot can be drawn by 2 steps. First, one should change the scale of axis by call SetFunc("lg(x)", "lg(y)"); (in this example, x- and y-axis will be log-scaled). Second, one should set logarithmic scale for axis ticks by changing variables: SetTicks('x',0); SetTicks('y',0);. Finally, one should check (or change) the axis ranges and origin so that their values to be positive. For example of log-log plot see section Log-log sample.


© manpagez.com 2000-2025
Individual documents may contain additional copyright information.