Back to the main page.
Bug 996 - ft_singleplotER and ft_ft_multiplotER do not plot multiple datasets
Status | CLOSED FIXED |
Reported | 2011-09-30 12:24:00 +0200 |
Modified | 2011-10-05 15:08:47 +0200 |
Product: | FieldTrip |
Component: | plotting |
Version: | unspecified |
Hardware: | PC |
Operating System: | Linux |
Importance: | P1 normal |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Anne van Hoogmoed - 2011-09-30 12:24:42 +0200
Created attachment 151 data to be plotted Both ft_singleplotER and ft_multiplotER can plot one dataset, but when multiple datasets are entered as arguments There is a bug at resp line 426 (singleplot) or 514 (multiplot). The error states: ???Argument to dynamic structure reference must evaluate to a valid field name. It still plots one dataset than, but not multiple. The script I've used is: cfg = []; cfg.channel = '14'; cfg.ylim = [-10 10]; ft_singleplotER(cfg, GA_id_freqtot, GA_loc_freqtot, GA_switch_freqtot); Thanks for solving! Would be great if you can solve it monday, because I've to give a presentation on Tuesday. Best, Anne