Difference between revisions of "Mesh plot.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     mesh_plot(spin_system,qscale,nodelabels)
 
     mesh_plot(spin_system,qscale,nodelabels)
  
−
==Arguments==
+
==Parameters==
  
 
     spin_system - Spinach spin system object containing
 
     spin_system - Spinach spin system object containing

Revision as of 17:50, 5 June 2026

2D microfluidic mesh plotting function. Draws the mesh, its Voronoi tessellation, and a quiver plot of velocities.

Syntax

   mesh_plot(spin_system,qscale,nodelabels)

Parameters

   spin_system - Spinach spin system object containing
                 mesh information

   qscale      - scaling multiplier for the quiver plot
                 of flow velocities, zero turns veloci-
                 ty plotting off

   nodelabels  - 1 causes vertex numbers to be displa-
                 yed, 0 turns that off

Outputs

   the function creates a figure

See also

Microfluidic mesh import and plotting

Version 2.8, authors: Anupama Acharya, Ilya Kuprov