Skip to content

plot_fils.m

Basic Information

  SYNTAX:  h = plot_fils(fils,clstr,lw,frac)

  PURPOSE: Plot filaments in standard filament specification matrix
        (npts,6): [x1,y1,z1,x2,y2,z2]

  INPUTS:
    fils = filament specification matrix (npts,6): [x1,y1,z1,x2,y2,z2]
        (or cell with several (npts,6) elements)
    clstr = (optional) color/linetype string (def= 'g' for green/solid)
    lw = (optional) linewidth (def=4)
    frac = (optional) scale factor, must have same number of rows as fils
      segments with frac>0 are plotted green and frac<0 are plotted red);

  OUTPUTS:
    h = figure handle

Dependencies