Generic function for redirecting a plot-command to a specific device.

hsPlot(dev, plotFun = graphics::plot, args)

Arguments

dev

device id

plotFun

plot-function to be used, e.g. plot, barplot, points, lines, ...

args

list of arguments to be passed to the function given in plotFun

Value

This function returns whtat the plot function given in plotFun returns