Description Usage Arguments Value Examples
Plots the applied potential as a function of time for an
object created using an object created with one of the
package's simulation functions: cvSim
for cyclic
voltammetry, lsvSim
for linear sweep voltammetry,
caSim
for chronoamperometry, or ccSim
for
chronocoulometry. Note: this function will not work with the
reduced data file created using sampleAmpgram
,
sampleCoulgram
, or sampleVoltgram
.
1 | plotPotential(filename, main_title = NULL)
|
filename |
Name of the file that contains the results of a simulated electrochemistry experiment. |
main_title |
An optional main title. |
Returns a line plot that shows time on the x-axis and the applied potential on the y-axis.
1 2 3 4 5 6 7 8 9 | ex_cv = simulateCV(e.start = 0.25, e.switch = -0.25, e.form = 0,
x.units = 100, t.units = 1000)
plotPotential(ex_cv,
main_title = "Applied Potential for a Cyclic Voltammetry Simulation")
ex_ca = simulateCA(e.start = 0.25, e.pulse = -0.25, e.form = 0,
pulses = "double", t.2 = 20, x.units = 100, t.units = 1000)
plotPotential(ex_ca,
main_title = "Applied Potential for a Chronoamperometry Simulation")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.