[chronojump] Encoder: added labels to curves graph



commit b59d207fb67404bd76dea12d71d84ebd6f836ffa
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri May 25 11:05:19 2012 +0200

    Encoder: added labels to curves graph

 encoder/graph.R        |    4 +++-
 glade/chronojump.glade |    1 +
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index 59bb08a..80cbe71 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -82,7 +82,9 @@ findCurves <- function(rawdata, eccon, min_height, draw) {
 		}
 	}
 	if(draw) {
-		plot(a/10,type="l",xlim=c(1,length(a)),xlab="",ylab="",axes=T) #/10 mm -> cm
+		plot(a/10,type="l",xlim=c(1,length(a)),xlab="grgrrrg",ylab="",axes=T) #/10 mm -> cm
+		mtext("time (s) ",side=1,adj=1,line=-1)
+		mtext("height (cm) ",side=2,adj=1,line=-1)
 		abline(v=b$maxindex,lty=3); abline(v=b$minindex,lty=3)
 	}
 	return(as.data.frame(cbind(start,end,startH)))
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index 8db58c5..24cbd1b 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -24544,6 +24544,7 @@ Evaluator can use real name or nickname.</property>
                                                     <property name="can_focus">True</property>
                                                     <property name="rules_hint">True</property>
                                                     <property name="enable_search">False</property>
+                                                    <property name="show_expanders">False</property>
                                                   </widget>
                                                 </child>
                                               </widget>



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