Skip to content

Commit 0cf9810

Browse files
committed
Change figures from png to jpg
Increase figure quality to 1000 dpi
1 parent 19fb28c commit 0cf9810

8 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Simulated data examples for an article about multivariate extreme quantile
44
region estimation. Simulations produce figures of the following form.
55

6-
![image](figures/fig-n_5000-k_400-p_low-gamma_1.00.png)
6+
![image](figures/fig-n_5000-k_400-p_medium-gamma_1.00.jpg)
77

88
In above figure $Q_p$ denotes the true $(1-p)$-quantile region, $\bar Q_p$
99
denotes estimate based on sample quantile and $\hat Q_p$ denotes estimate based
1.02 MB
Loading
-65.3 KB
Binary file not shown.
963 KB
Loading
-49.8 KB
Binary file not shown.
1.02 MB
Loading
-64.7 KB
Binary file not shown.

plot.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ plot_ellipse <- function(tsample, q, qbar, qhat) {
7171

7272
# Plotting
7373
dir.create("figures", showWarnings = FALSE)
74-
f <- sprintf("%s/fig-n_%d-k_%d-p_%s-gamma_%.2f.png", "figures", opt$n,
74+
f <- sprintf("%s/fig-n_%d-k_%d-p_%s-gamma_%.2f.jpg", "figures", opt$n,
7575
opt$k, opt$p, opt$gamma)
7676
ggplot(data) +
7777
geom_ellipse(aes(x0 = x, y0 = y, a = a, b = b, angle = theta,
@@ -92,7 +92,7 @@ plot_ellipse <- function(tsample, q, qbar, qhat) {
9292
labels = c(TeX("$Q_p$"),
9393
TeX("$\\hat{Q}_p$"),
9494
TeX("$\\bar{Q}_p$")))
95-
ggsave(f, width = 7, height = 7)
95+
ggsave(f, width = 7, height = 7, dpi = 1000)
9696
}
9797

9898

0 commit comments

Comments
 (0)