[chronojump] Encoder triggers also shown on set graph (capture tab)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Encoder triggers also shown on set graph (capture tab)
- Date: Fri, 16 Feb 2018 13:18:41 +0000 (UTC)
commit 23241e6d1a25fd8b346ac7cd7a74b1dea7f62693
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Feb 16 14:18:12 2018 +0100
Encoder triggers also shown on set graph (capture tab)
encoder/graph.R | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index 4762c7f..5b6a5e9 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -2841,9 +2841,13 @@ doProcess <- function(options)
#mtext(at=((curves[i,1]+curves[i,2])/2/1000), #/1000 ms -> s
# side=1,text=myLabel, cex=.8, col="blue")
abline(v=c(curves[i,1],curves[i,2])/1000, lty=3, col="gray")
+
+ if(! cutByTriggers(op) && op$TriggersOnList != "" && op$TriggersOnList != -1)
+ {
+ abline(v=op$TriggersOnList/1000, col="yellow3", lwd=2, lty=2)
+ }
}
-
-
+
#plot speed
par(new=T)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]