From 21953a75ad332c5f5cfd9c0da41e0d5eb490ec29 Mon Sep 17 00:00:00 2001 From: Graham Whaley Date: Mon, 25 Nov 2019 10:33:35 +0000 Subject: [PATCH] metrics: tidy: widen the graphs Move the legends to the bottom (underneath) for the tidy scaling graphs to make them wider on the page, and thus easier to read with more resolution. Signed-off-by: Graham Whaley --- metrics/report/report_dockerfile/tidy_scaling.R | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/metrics/report/report_dockerfile/tidy_scaling.R b/metrics/report/report_dockerfile/tidy_scaling.R index 04eb9e54..94b4ff09 100755 --- a/metrics/report/report_dockerfile/tidy_scaling.R +++ b/metrics/report/report_dockerfile/tidy_scaling.R @@ -229,6 +229,7 @@ mem_line_plot <- ggplot(data=nodedata, aes(n_pods, ylab("System Avail (Gb)") + scale_y_continuous(labels=comma) + ggtitle("System Memory free") + + theme(legend.position="bottom") + theme(axis.text.x=element_text(angle=90)) page1 = grid.arrange( @@ -256,6 +257,7 @@ cpu_line_plot <- ggplot(data=nodedata, aes(n_pods, xlab("pods") + ylab("System CPU Idle (%)") + ggtitle("System CPU usage") + + theme(legend.position="bottom") + theme(axis.text.x=element_text(angle=90)) page2 = grid.arrange( @@ -279,6 +281,7 @@ boot_line_plot <- ggplot() + xlab("pods") + ylab("Boot time (s)") + ggtitle("Pod boot time") + + theme(legend.position="bottom") + theme(axis.text.x=element_text(angle=90)) page3 = grid.arrange( @@ -307,6 +310,7 @@ inode_line_plot <- ggplot(data=nodedata, aes(n_pods, ylab("inodes free") + scale_y_continuous(labels=comma) + ggtitle("inodes free") + + theme(legend.position="bottom") + theme(axis.text.x=element_text(angle=90)) page4 = grid.arrange(