Back to the main page.

Bug 542 - Speed up ft_multiplotER

Status CLOSED WONTFIX
Reported 2011-03-22 14:54:00 +0100
Modified 2019-08-10 12:37:33 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: All
Operating System: All
Importance: P1 enhancement
Assigned to: Craig Richter
URL:
Tags:
Depends on:
Blocks:
See also:

Craig Richter - 2011-03-22 14:54:41 +0100

ft_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 +0100

Created attachment 34 Test data


Craig Richter - 2011-04-04 13:04:24 +0200

Attached 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 +0200

Created attachment 37 New multiplotER


Robert Oostenveld - 2018-11-08 14:03:10 +0100

This 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.


Robert Oostenveld - 2019-08-10 12:37:33 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue on https://github.com/fieldtrip/fieldtrip/issues.