Description Usage Arguments Details Value Functions Author(s) See Also
This function takes a data frame with current and voltage data and makes a polarization curve plot
1 2 3 | plot_polcurve(inputdf, xdata = "avgcurrent", ydata = "avgvoltage")
plot_powercurve(inputdf, xdata = "avgcurrent", ydata = "avgpower")
|
inputdf |
Data frame with the data to plot. |
xdata |
Name of the column under which the current data are stored. |
ydata |
Name of the column under which the voltage/power data are stored. |
This function is designed to be used on data frames generated with
import_cell_cv
. But in reality as long as the data frames have named
current, voltage, and power columns, and those columns are named, this
function should be able to generate polarization curves from those data
frames.
Returns a ggplot polarization curve, which should be manipulable by functions in the ggplot package.
plot_powercurve
: Plot power density versus current density, to see
peak galvanic power density.
Mike Gerhardt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.