<div dir="ltr"><div><div>Hi Jens,<br><br></div>The problem might be that the cfg.previous-structure is becoming quite large. Try to clear this before plotting the data, like:<br></div><div>data.cfg.previous = [];<br><br></div><div>This
 is especially helpful when plotting grandaverage-data. (I've seen cases
 in which the size went from 13 GB to 150 MB just by clearing the 
cfg.previous)<br><br></div>Best,<br><br>Erik<div class="gmail_extra"><br clear="all"><br><br><div class="gmail_quote">2014-10-09 11:51 GMT+02:00 "Jens Klinzing, Universität Tübingen" <span dir="ltr"><<a href="mailto:jens.klinzing@uni-tuebingen.de" target="_blank">jens.klinzing@uni-tuebingen.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear fieldtrip community,<br>
I encountered a weird problem. Lately, my source plots started to have<br>
huge file sizes when I save them as figures (.fig). This applies to both<br>
slice and surface plots. Surface plots used to have around 3-7 MB, now<br>
they have around 220 MB or even > 4 GB (ie. almost the size of the<br>
plotted data set). They also look slightly different now, with the<br>
surface being way darker than before. Slice plots look the same but are<br>
also larger than before.<br>
<br>
The problem seems to be in the plotting process itself (not the<br>
beamforming). When I plot older source localizations (which by the way<br>
have the same file size, fields, and basic properties as newer ones) the<br>
problem is still there.<br>
<br>
The code I am using for plotting did (to the best of my knowledge) not<br>
change at all:<br>
cfg                                     = [];<br>
cfg.method                      = 'surface';<br>
cfg.funparameter            = 'avg.pow';<br>
cfg.maskparameter         = cfg.funparameter;<br>
cfg.funcolormap              = 'jet';<br>
cfg.projmethod                = 'nearest';<br>
cfg.surfdownsample        = 5;<br>
ft_sourceplot(cfg,data)<br>
<br>
I thought it may be a change in fieldtrip so I reverted my ft_sourceplot<br>
to an older version but that did not help. I also used an older Matlab<br>
version (currently I use 2013b but I also tried 2013a) and another<br>
computer (Windows and Unix). In all cases I used opengl as the renderer.<br>
<br>
I am sure it is something very simple and I'm just too blind to see it.<br>
Any suggestions?<br>
<br>
Thanks a lot for your help,<br>
Jens<br>
</blockquote></div><br></div></div>