Skip to content

Commit

Permalink
Version 0.6.8 - small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gk-crop committed Jun 20, 2024
1 parent a7d0561 commit a484128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ plotScalarOutput <- function (data, column_x, columns_y,
ggplot2::ggplot(dt, ggplot2::aes(x=.data[[column_x]],
y=.data$Value,colour=.data$Variable)) +
ggplot2::geom_line() +
ggplot2::facet_wrap(~.data$simulationid)
ggplot2::facet_wrap(~.data$simulationid, nrow=nrow, ncol=ncol)
}
}
else
Expand Down Expand Up @@ -127,7 +127,7 @@ plotLayeredOutput <- function(data, column, simulationid = NULL,
ggplot2::ylab("Layer") +
ggplot2::geom_raster() +
ggplot2::scale_fill_gradient(low="#ddeeff",high="#000055") +
ggplot2::facet_wrap(~.data$simulationid,nrow=nrow, ncol=ncol)
ggplot2::facet_wrap(~.data$simulationid, nrow=nrow, ncol=ncol)
}

}
Expand Down

0 comments on commit a484128

Please sign in to comment.