Skip to content

Commit c208ae8

Browse files
committed
Added documentation for display and logscale
1 parent 8cd8f2e commit c208ae8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/logger.md

+6
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,9 @@ logger:plot()
7171
![Logging plot](logger_plot.png)
7272

7373
If we'd like an interactive visualisation, we can put the `logger:plot()` instruction within the `for` loop, and the chart will be updated at every iteration.
74+
75+
In case we'd like to prevent `gnuplot` to display the plots, we can set the option `logger:display(false)`.
76+
In this way, plots will be saved but not displayed.
77+
To restore the normal behaviour, use `logger:display(true)`.
78+
79+
We can set a logarithmic *y* axis with `logger:setlogscale(true)` and reset it with `logger:setlogscale(false)`.

0 commit comments

Comments
 (0)