Back to the main page.

Bug 2721 - mask is not handled correctly in ft_multiplotTFR

Status CLOSED FIXED
Reported 2014-10-02 20:37:00 +0200
Modified 2019-08-10 12:28:14 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2014-10-02 20:37:01 +0200

as detected while preparing for the statistics hands-on in Stockholm. From the following only the opacity works as expected. cfg = []; cfg.marker = 'on'; cfg.layout = 'neuromag306mag.lay'; cfg.channel = 'MEG*1'; cfg.parameter = 'powspctrm'; cfg.maskparameter = 'mask'; cfg.maskstyle = 'opacity'; figure; ft_multiplotTFR(cfg, TFR_diff_MEG); cfg.maskstyle = 'saturation'; figure; ft_multiplotTFR(cfg, TFR_diff_MEG); cfg.maskstyle = 'outline'; figure; ft_multiplotTFR(cfg, TFR_diff_MEG); I will save the data and upload next week.


Robert Oostenveld - 2014-10-07 13:47:55 +0200

for opacity it was due to "hold on" in ft_multipltoTFR, followed by actually plotting the mask to get it interpolated. Deleting the plotted mask solves it. for outline it was due to a hard-coded "hold on; hold off" in ft_plot_matrix. Using ishold resolves it. mac011> svn commit plotting/ft_plot_matrix.m ft_multiplotTFR.m test/inspect_bug2721.m Sending ft_multiplotTFR.m Sending plotting/ft_plot_matrix.m Adding test/inspect_bug2721.m Transmitting file data ... Committed revision 9885.


Robert Oostenveld - 2014-10-07 14:13:02 +0200

resolved, although there is an issue with passing the mask parameter in interactive mode. That is dealt with in bug #2722.


Robert Oostenveld - 2019-08-10 12:28:14 +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 describing the issue on https://github.com/fieldtrip/fieldtrip/issues.