conc_plot.m

From Spinach Documentation Wiki
Revision as of 09:51, 25 July 2023 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:conc_plot.m}} __NOTOC__ 2D microfluidic concentration plotting function. Uses mesh tessellation information to plot concentrations as vertical bars. This functi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

2D microfluidic concentration plotting function. Uses mesh tessellation information to plot concentrations as vertical bars. This function should be called after mesh_plot.m has drawn the mesh.

Syntax

    conc_plot(spin_system,conc)

Arguments

   spin_system - Spinach spin system object containing
                 mesh and tessellation information

   conc        - concentrations as a column vector with
                 the same number of elements as the num-
                 ber of Voronoi cells

Outputs

    the function updates a figure created by mesh_plot.m

See also

Microfluidic mesh_import and plotting


Version 2.8, authors: Ilya Kuprov