r.oostenveld at FCDONDERS.RU.NL
Tue May 5 17:45:55 CEST 2009
I suspect the problem to be due to the rendering of Matlab.
Occasionally (esp when working on a remote linux maxhine through a VNC
connection) I also have problematic figures.
Please look at
>> help opengl
It explains how you can change the renderer.
Some fieldtrip plotting functions have this as a configurable option,
including singleplotTFR and multiplotTFR. You can specify
cfg.renderer= 'painters', 'zbuffer' or 'opengl'. Please try zbuffer.
On 30 Apr 2009, at 21:21, Jim Li wrote:
> Dear FTer:
> I wonder if anybody can tell me how to get the full color bar when
> w/ "singleplotTFR" or "multiplotTFR".
> I ran the following commands:
> cfg = ;
> cfg.layout = '4D248.lay';
> cfg.ylim = [5 30]
> cfg.interactive = 'yes';
> cfg.showlabels = 'yes';
> cfg.colorbar = 'yes'; cfg.channel='A2'
> But what I get on the right side of the figure is a colorbar w/ only
> half of the
> color (usually the cold colors like blue or green), and the numbers
> on the right
> side of the colorbar seem to be wrongly placed (see attachment). How
> can I
> get all the colors (both hot and cold) displayed in the colorbar?
> FYI, I controled the values of TF.powspctrm so that, for the channel
> (A2), all values before time 0 is 3e-25, and all values after time 0
> is 1e-25.
> But the color bar is telling me that the blue should be 2e-25, which
> is totally
> wrong! It's as if something happened that moved the whole colorbar
> up by half
> of the data range, then cut off the top of it (i.e. the hot colors).
> In fact, I think Fig 3 of the online tutorial
> probably suffered
> from the same problem.
> The aim of this list is to facilitate the discussion between users
> of the FieldTrip toolbox, to share experiences and to discuss new
> ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html
> and http://www.ru.nl/neuroimaging/fieldtrip.
The aim of this list is to facilitate the discussion between users of the FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.
More information about the fieldtrip