Thanks for Your answer! nBut since get_data returns a n-dimensional array I can not use it as a parameter, right? Besides, everytime I change something in the code it creates a new layup plot called angle.X, that is supposed to happen?nIn any case, I found a different solution by writing a small python script that stores the angle in a .txt file. It is not an automated process but better than nothing.n