Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8183624

Browse filesBrowse files
committed
y-axis starts at 0 in graphs
Close #27 Close #13
1 parent 09cc652 commit 8183624
Copy full SHA for 8183624

File tree

Expand file treeCollapse file tree

4 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+3
-3
lines changed

‎images/graphs.R

Copy file name to clipboardExpand all lines: images/graphs.R
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ data.size <- as.data.frame(list(serializer = names.size, size = size))
3939
data.time <- as.data.frame(list(serializer = names.time, time = time))
4040
data.time2 <- as.data.frame(list(serializer = names.time2, time = time2))
4141

42-
ssize <- ggplot(data.size, aes(x = as.factor(serializer), y = as.factor(size), fill = serializer)) +
42+
ssize <- ggplot(data.size, aes(x = as.factor(serializer), y = size, fill = serializer)) +
4343
geom_bar(stat = "identity") +
4444
xlab("serializer") +
4545
ylab("size") +
@@ -48,7 +48,7 @@ png(filename="size.png", width = 800, height = 600)
4848
plot(ssize)
4949
dev.off()
5050

51-
stime <- ggplot(data.time, aes(x = as.factor(serializer), y = as.factor(time), fill = serializer)) +
51+
stime <- ggplot(data.time, aes(x = as.factor(serializer), y = time, fill = serializer)) +
5252
geom_bar(stat = "identity") +
5353
xlab("serializer") +
5454
ylab("time") +
@@ -57,7 +57,7 @@ png(filename="time.png", width = 800, height = 600)
5757
plot(stime)
5858
dev.off()
5959

60-
stime2 <- ggplot(data.time2, aes(x = as.factor(serializer), y = as.factor(time), fill = serializer)) +
60+
stime2 <- ggplot(data.time2, aes(x = as.factor(serializer), y = time, fill = serializer)) +
6161
geom_bar(stat = "identity") +
6262
xlab("serializer") +
6363
ylab("time") +

‎images/size.png

Copy file name to clipboard
-2.05 KB
Loading

‎images/time.png

Copy file name to clipboard
-1.75 KB
Loading

‎images/time2.png

Copy file name to clipboard
-694 Bytes
Loading

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.