Hi all,
In line 352 of AFQ_RenderFibers there's a very small bug, leading to error if when trying to plot 3 fibers, with a profile per-point colors for each fiber.
To avoid this, I suggest changing:
if size(color,1) == 1 && size(color,2) == 3
to:
if size(color,1) == 1 && size(color,2) == 3 && ~iscell(color)
Hi all, In line 352 of AFQ_RenderFibers there's a very small bug, leading to error if when trying to plot 3 fibers, with a profile per-point colors for each fiber. To avoid this, I suggest changing:
if size(color,1) == 1 && size(color,2) == 3
to:
if size(color,1) == 1 && size(color,2) == 3 && ~iscell(color)
Best, Roey