Mensen / swa-matlab

Sleep Wave Analysis - an open source toolbox for matlab to score and analyse various waveforms in sleep EEG data
51 stars 20 forks source link

angle plots visualization #26

Closed AnnaCastelnovo closed 8 years ago

AnnaCastelnovo commented 9 years ago

I had problems in the angle plots visualization with all matlab versions (from 2010 to 2015). I used the fill function instead of the patch and it seems working nicely.

set(gca, 'nextplot', 'add'); h.plt = polar(tout, rout); [xout, yout] = pol2cart(tout, rout_mean_pt); set(gca, 'nextplot', 'add'); fill(xout, yout, 'r');

Mensen commented 9 years ago

Yes, I started finding the odd triangles after 2014b, but possibly I didn't really notice that much before.

In the most recent release, I just stopped filling the plots altogether and I actually like the resulting look... but if fill works for you then that's great and easily changeable.

AnnaCastelnovo commented 9 years ago

Uh, I thought I had the same problem w 2010, but it's possible I do not remember well. I found filling/patches useful for in-between-groups comparisons, but yep, I personally like rose plots wo patches for single subjects.

2015-06-09 6:38 GMT-05:00 Armand Mensen notifications@github.com:

Yes, I started finding the odd triangles after 2014b, but possibly I didn't really notice that much before.

In the most recent release, I just stopped filling the plots altogether and I actually like the resulting look... but if fill works for you then that's great and easily changeable.

— Reply to this email directly or view it on GitHub https://github.com/Mensen/swa-matlab/issues/26#issuecomment-110327421.