jeanluct / braidlab

Matlab package for analyzing data using braids
GNU General Public License v3.0
23 stars 9 forks source link

Plotting braids issue #47

Closed jeanluct closed 9 years ago

jeanluct commented 9 years ago

This is similar to issue #43:

#!matlab

imagesc([1 1]); plot(braid([1 2]))

doesn't clear the axes properly. Why not? I tried copying the cla from loop.plot, but it's not helping.

Note that

#!matlab

imagesc([1 1]); plot(braid([1 2])); plot(braid([1 2]))

works, that is, the second time around it clears the plot. However,

#!matlab

imagesc([1 1]); plot(braid); plot(braid)

doesn't work, but plot(braid) by itself does.

jeanluct commented 9 years ago

From Jean-Luc Thiffeault on 2014-02-22 21:12:56+00:00

Use plot rather than line in braid.plot. Do not hold until after first call to plot. Resolves issue #47.

→ <>