alexe15 / ALADIN.m

Other
35 stars 13 forks source link

Fix slow ALADIN because of plotting #27

Closed alexe15 closed 4 years ago

alexe15 commented 4 years ago

The plotting (if activated makes ALADIn quite slow as in each iteration a new plot is added to the figure). Fixing this to just points should make it faster I guess. From my experience, if plotting is deactivated the code runs much faster.

bennerh commented 4 years ago

I added a new file 'initializePlots' to first to initialize the plot window with axis description, axis limits and legend with fixed manual axis limits. I modified the file 'plotIterates'. Instead of plotting the entire data, only the last entries is added with the help of command 'line'. The plotting speed has improved.

The former code to plot logg.alpha, logg.desc, logg.wrkSet is delted.