[chronojump] Abline shown on encoder analysis "all"



commit 169672fdf9b33391604f2ea9b818d7e3addc8893
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Apr 1 13:54:18 2017 +0200

    Abline shown on encoder analysis "all"

 encoder/graph.R |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index 442baf5..9c611ed 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -2908,6 +2908,10 @@ doProcess <- function(options)
                                axisLineRight = axisLineRight +2
                        }
                        
+                       #always (single or side) show 0 line
+                       if(showSpeed || showAccel || showForce || showPower)
+                               abline(h=0,lty=3,col="black")
+
                        paintVariablesLegend(showSpeed && ! isInertial(op$EncoderConfigurationName), 
showAccel, showForce, showPower)
                }
        


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]