Difference between revisions of "Mesh preplot.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Correct function page syntax from current Spinach source)
Line 4: Line 4:
 
==Syntax==
 
==Syntax==
  
−
    spin_system=mesh_preplot(spin_system)
+
 
 +
    mesh=mesh_preplot(mesh)
  
 
==Arguments==
 
==Arguments==

Revision as of 14:13, 5 June 2026

Mesh preprocessing for drawing. Creates edge, triangle, and rectangle data structures needed for fast plotting later.

Syntax

    mesh=mesh_preplot(mesh)

Arguments

   spin_system - Spinach data structure with 
                 a .mesh subfield present

Outputs

   spin_system - Spinach data structure with a .plot
                 subfield added to the mesh structure

See also

Microfluidic mesh import and plotting

Version 2.8, authors: Ilya Kuprov