Commit 144ccd5d authored by akaljuvee's avatar akaljuvee

possibility to use log scale for the x and y axis

parent 0cbb7ecf
......@@ -42,6 +42,7 @@ plot = ggplot(DF1, aes(x = Rank, y = value, group = variable, color = variable))
theme_bw() +
geom_line()
if (arguments$xLog10 == "true") {
if (!is.null(arguments$xLog10Labels)) {
scale_x <- scale_x_log10(breaks = arguments$xLog10Breaks, labels=arguments$xLog10Labels)
......
......@@ -38,7 +38,7 @@ class LinePlot(val root: Configurable) extends Rscript {
var title: Option[String] = config("title")
var removeZero: Boolean = config("removeZero", default = false)
// whether to use log scale for x and y axis
//whether to use log scale for x and y axis
var xLog10: Boolean = false
var yLog10: Boolean = false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment