Description Usage Arguments Value Examples
Plots the diffusion grids used in cyclic voltammetry, linear sweep voltammetry, chronoamperometry, and chronocoulometry simulation. The diffusion grids are presented as heat maps giving the concentration of Ox, Red, or Z as a function of distance from the electrode surface on the x-axis and time on the y- axis. The scale on the x-axis may be adjusted to highlight better the diffusion grid near the electrode's surface. Note: the plotDiffGrid
function requires that the plot3D
package is installed.
1 | plotDiffGrid(filename, species = c(TRUE, TRUE, FALSE), scale.factor = 1)
|
filename |
Name of the file that contains the results of a cyclic voltammetry, linear sweep voltammetry, chronoamperometry, or chronocoulometry simulation created using |
species |
A vector of three logical values ( |
scale.factor |
A factor for adjusting the scale on the x-axis. Setting the scale.factor to a value of less than 1 decreases the range of distances displayed in the diffusion grids. |
Returns a single plot showing 1–3 diffusion grids.
1 2 3 4 | ex_cv = simulateCV(e.start = 0.25, e.switch = -0.25, e.form = 0,
x.units = 100, t.units = 1000)
plotDiffGrid(ex_cv, species = c(TRUE, TRUE, FALSE),
scale.factor = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.