animate_pressure {pressuRe}R Documentation

Animate pressure

Description

Produces animation (gif) of pressure data

Usage

animate_pressure(
  pressure_data,
  plot_colors = "default",
  fps,
  dpi = 96,
  file_name
)

Arguments

pressure_data

Array. A 3D array covering each timepoint of the measurement. z dimension represents time

plot_colors

String

fps

Numeric. Number of frames per second in animation

dpi

Numeric. Resolution of gif

file_name

Name (inlcuding path) of export file

Value

Animation in gif format

Examples


emed_data <- system.file("extdata", "emed_test.lst", package = "pressuRe")
pressure_data <- load_emed(emed_data)
animate_pressure(pressure_data, fps = 10, file_name = "pli_gif.gif")


[Package pressuRe version 0.2.4 Index]