Skip to content

Commit 1899ea6

Browse files
committed
Add instructions to docs for vector graphics.
1 parent 14b2d39 commit 1899ea6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

R/io.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ read_ftir_a2r <- function(path, file, sample_name = NA, ...) {
274274
#' Save FTIR Plot
275275
#'
276276
#' @description
277-
#' Save FTIR plot object to file. Uses [ggplot2::ggsave()] to save to disk.
277+
#' Save FTIR plot object to file. Uses [ggplot2::ggsave()] to save to disk. Specify a filename ending with `.svg` for vector graphics, if requeste by a journal.
278278
#'
279-
#' Enregistrer l'objet de tracé IRTF dans un fichier. Utilise [ggplot2::ggsave()] pour enregistrer sur le disque.
279+
#' Enregistrer l'objet de tracé IRTF dans un fichier. Utilise [ggplot2::ggsave()] pour enregistrer sur le disque. Spécifier un nom de fichier se terminant par `.svg` pour les graphiques vectoriels, si un journal le demande.
280280
#'
281281
#' @param ftir_spectra_plot A plot generated by [plot_ftir()] or
282282
#' [plot_ftir_stacked()].

man/save_plot.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)