Is there a way to dynamicaly plot lines inside a for loop?
I want to do something like that (but obviously got "Cannot use \'plot\' in local scope."):