Back to the main page.
Bug 542 - Speed up ft_multiplotER
|2011-03-22 14:54:00 +0100
|2019-08-10 12:37:33 +0200
Craig Richter - 2011-03-22 14:54:41 +0100ft_multiplotER is a rather slow function with a lot of the drag due to a large number of keyval executions. Attached is data and a cfg to be used with the following: ft_multiplotER(cfg,att_dep_ipsi)
Craig Richter - 2011-03-22 14:55:19 +0100Created attachment 34 Test data
Craig Richter - 2011-04-04 13:04:24 +0200Attached is a new version of ft_multiplotER which uses a different approach to plotting the data. Rather than representing that data as line objects in a singular axes object, the following system us used: 1) 1 'reference' axes object is generated which serves as the reference frame. This object is used as the common position reference for all further objects. 2) further objects are contained in separate axes objects with sizes and positions referenced to the 'reference axes'. Layouts are displayed in the reference axes, as is the comment text. This system allows for rapid plotting compared to the previous version, and also allows for faster realtime updating of objects using handles than using the line object handles in the previous incarnation (for unknown reasons). Implementation of interactive zooming and panning has been implemented to demonstrate the reasoning for the changes. Full compatibility with all previous multiplotER functionality still needs to be completed, but the current attached version suffices for testing/proof of concept purposes. A bug in the interactive plotting seems to exist for the mac OS, though interactive plotting is fully functional in Unix. I'm not sure what the Windows situation is.
Craig Richter - 2011-04-04 13:05:09 +0200Created attachment 37 New multiplotER
Robert Oostenveld - 2018-11-08 14:03:10 +0100This is so old, and the function has been reworked in the mean time. I don't think there is any need to revisit this now.