diff options
author | Abhishek Chaurasia <abhishek.chaurasia29@hotmail.com> | 2016-09-15 23:11:12 +0300 |
---|---|---|
committer | Abhishek Chaurasia <abhishek.chaurasia29@hotmail.com> | 2016-09-15 23:11:12 +0300 |
commit | 8cd8f2ec62cab763c430416aa3e9364ce72f5145 (patch) | |
tree | beffcc5fc6b07bab20e65d8f17c9b1eafe4dbe83 | |
parent | b812d2a381162bed9f0df26cab8abb4015f47471 (diff) |
Added option to set/reset displaying of plot
-rw-r--r-- | Logger.lua | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -124,8 +124,12 @@ function Logger:style(symbols) return self end -function Logger:setlogscale(value) - self.logscale = value +function Logger:setlogscale(state) + self.logscale = state +end + +function Logger:display(state) + self.showPlot = state end function Logger:plot(...) |