Browse Source

Commas instead of scientific notation

Petra Lamborn 6 years ago
parent
commit
9c184fe870
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      analysis.rmd

+ 1
- 1
analysis.rmd View File

@@ -17,7 +17,7 @@ flight$mission_time <- as.POSIXct(flight$mission_time, origin=Sys.Date(), tz="GM
17 17
 ```
18 18
 
19 19
 ```{r graph}
20
-baseg <- ggplot(flight, aes(x=mission_time)) + xlab("Time (H:M:S)") + theme_classic() + scale_x_datetime(date_labels="%H:%M:%S")
20
+baseg <- ggplot(flight, aes(x=mission_time)) + xlab("Time (H:M:S)") + theme_classic() + scale_x_datetime(date_labels="%H:%M:%S") + scale_y_continuous(labels=comma)
21 21
 alt <- baseg + geom_line(aes(y=current_altitude)) + ylab("Altitude (m)") + ggtitle("Altitude")
22 22
 vspd <- baseg + geom_line(aes(y=v_speed)) + ylab("Vertical speed (m/s)") + ggtitle("Vertical speed")
23 23
 hspd <- baseg + geom_line(aes(y=h_speed)) + ylab("Horizontal speed (m/s)") + ggtitle("Horizontal speed")