[chronojump] Cross variables uses mass extra instead of total mass
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Cross variables uses mass extra instead of total mass
- Date: Wed, 25 May 2016 19:02:05 +0000 (UTC)
commit 5f29b6bf7df2d45a6f9660cb6b1fa82a770e124c
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed May 25 20:52:02 2016 +0200
Cross variables uses mass extra instead of total mass
encoder/graph.R | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index 9ddd71b..83c33a9 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -1550,7 +1550,11 @@ paintCrossVariables <- function (paf, varX, varY, option, dateAsX,
if(varX == "Load" && hasInertia)
varX = "Inertia"
- x = (paf[,findPosInPaf(varX, option)])
+ if(varX == "Load")
+ x = (paf[,findPosInPaf("MassExtra", option)])
+ else
+ x = (paf[,findPosInPaf(varX, option)])
+
y = (paf[,findPosInPaf(varY, option)])
if(varX == "Inertia")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]