[chronojump] Encoder: fixed some strings



commit 9f6d9a2252263fb0d8e5b057d8d0b5951801e532
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Nov 20 19:57:34 2012 +0100

    Encoder: fixed some strings

 encoder/graph.R    |    6 +++---
 src/gui/encoder.cs |    2 +-
 src/util.cs        |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index 0e7e6a6..9db5222 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -497,16 +497,16 @@ paintPowerPeakPowerBars <- function(paf, myEccons, height) {
 	par(new=T, xpd=T)
 	plot(bp[2,],paf[,5],type="l",lwd=2,xlim=c(1,n*3+.5),ylim=c(0,max(paf[,5])),axes=F,xlab="",ylab="",col=pafColors[3])
 	axis(4, col=pafColors[3], line=0,padj=-.5)
-	mtext("Time at peak power (ms)", side=4, line=-1)
+	mtext("Time to peak power (ms)", side=4, line=-1)
 	
 	par(new=T, xpd=T)
 	plot(bp[2,],height,type="l",lwd=2,xlim=c(1,n*3+.5),ylim=c(0,max(height)),axes=F,xlab="",ylab="",col="green")
-	legend("bottom",col=c(pafColors,"green"), lty=c(0,0,1,1), lwd=c(1,1,2,2), pch=c(15,15,NA,NA), legend=c("Power","Peak Power", "Time at Peak Power    ", "Height"), ncol=4, inset=-.2)
+	legend("bottom",col=c(pafColors,"green"), lty=c(0,0,1,1), lwd=c(1,1,2,2), pch=c(15,15,NA,NA), legend=c("Power","Peak Power", "Time to Peak Power    ", "Range"), ncol=4, inset=-.2)
 	abline(h=max(height),lty=2, col="green")
 	abline(h=min(height),lty=2, col="green")
 #	text(max(bp[,2]),max(height),max(height),adj=c(0,.5),cex=0.8)
 	axis(4, col="green", line=3, padj=-.5)
-	mtext("Height (cm)", side=4, line=2)
+	mtext("Range (cm)", side=4, line=2)
 }
 
 #see paf for more info
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index cfbaaf0..31195ce 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -1156,7 +1156,7 @@ public partial class ChronoJumpWindow
 			Catalog.GetString("Curve") + "\n",
 			Catalog.GetString("Start") + "\n (s)",
 			Catalog.GetString("Duration") + "\n (s)",
-			Catalog.GetString("Height") + "\n (cm)",
+			Catalog.GetString("Range") + "\n (cm)",
 			Catalog.GetString("MeanSpeed") + "\n (m/s)",
 			Catalog.GetString("MaxSpeed") + "\n (m/s)",
 			Catalog.GetString("MeanPower") + "\n (W)",
diff --git a/src/util.cs b/src/util.cs
index a38e672..a8b5a2f 100644
--- a/src/util.cs
+++ b/src/util.cs
@@ -1006,7 +1006,7 @@ public class Util
 		string pBin="python";
 
 		//currently we are not using useTerminal. It was originally to encoder capture with text and graph
-		useTerminal = false;
+		bool useTerminal = false;
 		if(useTerminal)
 			pBin="xterm";
 



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