Skip to content

Commit

Permalink
Increase height of plots
Browse files Browse the repository at this point in the history
  • Loading branch information
Rucknium committed Jul 12, 2022
1 parent 4ee1dca commit fb39617
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions R/OSPEAD-dry-run.R
Original file line number Diff line number Diff line change
Expand Up @@ -495,14 +495,14 @@ for (i in 1:nrow(run.iters.obj.fn)) {
}

png(paste0("images/dry-run/estimate-div-target/estimate-div-target-", loss.fn.temp, "-flavor-", flavor.temp, ".png"),
width = 1000 * 1.5, height = 800 * 1.5)
width = 1000 * 1.5, height = 1200 * 1.5)

par(mar = c(8, 6, 10, 2) + 0.1, cex = 1.5)
par(mar = c(10, 6, 10, 2) + 0.1, cex = 1.5)

matplot(matrix(mat.data, nrow = length(support.interval)),
main = run.iters.obj.fn$title[i][[1]],
ylab = bquote(frac(f[D](x), f[S](x))),
xlab = "Age of spend outputs in terms of number of blocks. Log scale.",
xlab = "Age of spent outputs in terms of number of blocks. Log scale. ",
log = "x", xaxt = "n",
type = "l", lty = 1,
ylim = c(min(c(0, mat.data)), min(c(2, max(mat.data)))),
Expand All @@ -515,7 +515,7 @@ for (i in 1:nrow(run.iters.obj.fn)) {
lty = rep(1, length(unique(names(run.iters$f_D)))),
lwd = rep(10, length(unique(names(run.iters$f_D)))),
col = (RColorBrewer::brewer.pal( length(unique(names(run.iters$f_D))) + 1, "Set1")[-6]),
inset = c(0, -0.12), xpd = NA, y.intersp = 1,
inset = c(0, -0.07), xpd = NA, y.intersp = 1,
bty = "n", ncol = 3)

for ( j in support.interval) {
Expand Down Expand Up @@ -559,14 +559,14 @@ for (i in 1:nrow(run.iters.obj.fn)) {
}

png(paste0("images/dry-run/estimate/estimate-", loss.fn.temp, "-flavor-", flavor.temp, ".png"),
width = 1000 * 1.5, height = 800 * 1.5)
width = 1000 * 1.5, height = 1200 * 1.5)

par(mar = c(8, 6, 10, 2) + 0.1, cex = 1.5)
par(mar = c(10, 6, 10, 2) + 0.1, cex = 1.5)

matplot(matrix(mat.data, nrow = length(support.interval)),
main = run.iters.obj.fn$title[i][[1]],
ylab = bquote(f[D](x)),
xlab = "Age of spend outputs in terms of number of blocks. Log scale.",
xlab = "Age of spent outputs in terms of number of blocks. Log scale. ",
log = "x", xaxt = "n",
type = "l", lty = 1,
ylim = c(min(c(0, mat.data)), min(c(2, max(mat.data)))),
Expand All @@ -579,7 +579,7 @@ for (i in 1:nrow(run.iters.obj.fn)) {
lty = rep(1, length(unique(names(run.iters$f_D)))),
lwd = rep(10, length(unique(names(run.iters$f_D)))),
col = (RColorBrewer::brewer.pal( length(unique(names(run.iters$f_D))) + 1, "Set1")[-6]),
inset = c(0, -0.12), xpd = NA, y.intersp = 1,
inset = c(0, -0.07), xpd = NA, y.intersp = 1,
bty = "n", ncol = 3)

for ( j in support.interval) {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/dry-run/estimate/estimate-L_FGT-flavor-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/dry-run/estimate/estimate-L_FGT-flavor-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/dry-run/estimate/estimate-L_MLE-flavor-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/dry-run/estimate/estimate-L_Welfare-flavor-0.5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/dry-run/estimate/estimate-L_Welfare-flavor-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fb39617

Please sign in to comment.