diff --git a/DESCRIPTION b/DESCRIPTION
index 8e2ca32..cdf9996 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,7 +1,7 @@
Package: adestr
Type: Package
Title: Estimation in Optimal Adaptive Two-Stage Designs
-Version: 0.5.0
+Version: 0.5.1
Authors@R:c(person("Jan", "Meis", role = c("aut", "cre"), email = "meis@imbi.uni-heidelberg.de", comment = c(ORCID = "0000-0001-5407-7220")),
person("Martin", "Maechler", role = c("cph"), email = "maechler@stat.math.ethz.ch", comment = c(ORCID = "0000-0002-8685-9910", "Original author of monoSpl.c (from the 'stats' package).")))
Description:
diff --git a/NEWS.md b/NEWS.md
index d386d7b..9a58be7 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,3 +1,7 @@
+# adestr 0.5.1
+
+* Replaced raster graphics in vignettes with vector graphics.
+
# adestr 0.5.0
* First CRAN submission.
diff --git a/README.Rmd b/README.Rmd
index 9cca5df..75883fb 100644
--- a/README.Rmd
+++ b/README.Rmd
@@ -61,7 +61,7 @@ library(adestr)
Then, you can evaluate the performance of an estimator like this:
-```{r}
+```{r, fig.width=7.2, fig.height=4, dev="svg"}
evaluate_estimator(
score = MSE(),
estimator = SampleMean(),
diff --git a/README.md b/README.md
index c346e33..2666bb1 100644
--- a/README.md
+++ b/README.md
@@ -82,7 +82,7 @@ evaluate_estimator(
plot()
```
-
+
You can analyze a dataset like this:
diff --git a/man/figures/README-unnamed-chunk-4-1.svg b/man/figures/README-unnamed-chunk-4-1.svg
new file mode 100644
index 0000000..6235d65
--- /dev/null
+++ b/man/figures/README-unnamed-chunk-4-1.svg
@@ -0,0 +1,931 @@
+
+
diff --git a/vignettes/Introduction.Rmd b/vignettes/Introduction.Rmd
index 51eb0c0..51b81c0 100644
--- a/vignettes/Introduction.Rmd
+++ b/vignettes/Introduction.Rmd
@@ -70,7 +70,7 @@ to investigate the distributional properties of an estimator.
In the following, the MSE of the sample mean vs. a weighted sample mean with fixed weights
will be plotted.
-```{r}
+```{r, fig.width=7.2, fig.height=4, dev="svg"}
mse_mle <- evaluate_estimator(
score = MSE(),
estimator = SampleMean(),