Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2014b Plot ERPs issue #27

Closed
joelau1101 opened this issue May 20, 2015 · 5 comments
Closed

2014b Plot ERPs issue #27

joelau1101 opened this issue May 20, 2015 · 5 comments
Labels

Comments

@joelau1101
Copy link

Hi,

Even with the bugfix version, there seems to be problems when plotting ERPs on Matlab 2014b.
When I select ERPLAB -> Plot ERP -> Plot ERP waveforms

The following error appears:

Error using matlab.ui.Figure/get
There is no ActivePositionProperty property on the Figure class.

Error in maximize (line 119)
oldActivePositionProperty=get(h,'ActivePositionProperty'); % an undocumented figure property

Error in ploterps (line 321)
maximize(hbig) ;

Error in pop_ploterps (line 684)
ploterps(ERP, binArray, chanArray, qpstyle, qMgfp, qBlc, qxscale, qyscale, qLineWidth, qisiy, qFontSizeChan,
qFontSizeLeg, qFontSizeTicks, qerrorstd,...

Error in pop_ploterps (line 301)
[ERP, erpcom] = pop_ploterps(ERP, binArray, chanArray, 'AutoYlim', rAutoYlim, 'BinNum', rBinNum, 'Blc',
blcorr,...

Error while evaluating Menu Callback

If I uncheck "Maximize Figure", it does show a graph but with only one electrode that is not labelled and there is no legend. The follow error also shows up:

No constructor 'schema.prop' with matching signature found.

Error in neozeroaxes>plistener (line 156)
p = schema.prop(hC, 'Listeners__', 'handle vector');

Error in neozeroaxes (line 144)
plistener(axesin,'XLim',@XYLim)

Error in ploterps (line 574)
neozeroaxes(1, fsaxtick, BCKGCOLOR)

Error in pop_ploterps (line 684)
ploterps(ERP, binArray, chanArray, qpstyle, qMgfp, qBlc, qxscale, qyscale, qLineWidth, qisiy, qFontSizeChan,
qFontSizeLeg, qFontSizeTicks, qerrorstd,...

Error in pop_ploterps (line 301)
[ERP, erpcom] = pop_ploterps(ERP, binArray, chanArray, 'AutoYlim', rAutoYlim, 'BinNum', rBinNum, 'Blc',
blcorr,...

Error while evaluating Menu Callback

Thanks!

Joe

@jasonarita jasonarita assigned inheniero and unassigned inheniero May 21, 2015
@thimo123
Copy link

thimo123 commented Jun 2, 2015

I have a similar issue with plotting ERPs in Matlab 2014b. I tried replacing "handle listener" with "addlistener" to resolve the issue as was suggested in another discussion post; however, this generated the following errors:

Error using matlab.graphics.axis.Axes/addlistener
Event 'PropertyPostSet' is not defined for class 'matlab.graphics.axis.Axes'.

Error in neozeroaxes>plistener (line 155)
hl = addlistener(hC, prp, psetact, func);

Error in neozeroaxes (line 144)
plistener(axesin,'XLim',@XYLim)

Error in ploterps (line 574)
neozeroaxes(1, fsaxtick, BCKGCOLOR)

Error in pop_ploterps (line 684)
ploterps(ERP, binArray, chanArray, qpstyle, qMgfp, qBlc, qxscale, qyscale,
qLineWidth, qisiy, qFontSizeChan, qFontSizeLeg, qFontSizeTicks, qerrorstd,...

Error in pop_ploterps (line 301)
[ERP, erpcom] = pop_ploterps(ERP, binArray, chanArray, 'AutoYlim', rAutoYlim,
'BinNum', rBinNum, 'Blc', blcorr,...

Error while evaluating Menu Callback

@xejob
Copy link

xejob commented Jun 30, 2015

I have the same problem running eeglab13_4_4b in Matlab 2014b on OS X Yosemite 10.10.3. When selecting Plot ERP Waveforms a plot featuring a single channel in top left hand corner with no label or legend with the following error message:

No constructor 'schema.prop' with matching signature found.

Error in neozeroaxes>plistener (line 156)
p = schema.prop(hC, 'Listeners__', 'handle vector');

Error in neozeroaxes (line 144)
plistener(axesin,'XLim',@XYLim)

Error in ploterps (line 574)
neozeroaxes(1, fsaxtick, BCKGCOLOR)

Error in pop_ploterps (line 684)
ploterps(ERP, binArray, chanArray, qpstyle, qMgfp, qBlc, qxscale, qyscale, qLineWidth, qisiy,
qFontSizeChan, qFontSizeLeg, qFontSizeTicks, qerrorstd,...

Error in pop_ploterps (line 301)
[ERP, erpcom] = pop_ploterps(ERP, binArray, chanArray, 'AutoYlim', rAutoYlim, 'BinNum', rBinNum,
'Blc', blcorr,...

Error while evaluating Menu Callback

I have already made the bug fixes suggested on this link to do with matlabs new graphics system HANDLE.LISTNER:
92aa0d8#diff-117ef48043c2fdde0d05f3198438c8f4

I don't know what else to do. Has there been any progress since the previous posts?

Thanks,
Xavier

@thimo123
Copy link

Hi Xavier,

No, unfortunately I haven’t been able to find a solution to this yet. I have been going part way with ERPLab and then finishing with EEGLab because some of the ERPLab functions aren’t working for me. Wish I had better news for you.

Tim

On Jun 30, 2015, at 3:59 PM, xejob notifications@github.com wrote:

I have the same problem running eeglab13_4_4b in Matlab 2014b on OS X Yosemite 10.10.3. When selecting Plot ERP Waveforms a plot featuring a single channel in top left hand corner with no label or legend with the following error message:

No constructor 'schema.prop' with matching signature found.

Error in neozeroaxes>plistener (line 156)
p = schema.prop(hC, 'Listeners__', 'handle vector');

Error in neozeroaxes (line 144)
plistener(axesin,'XLim',@XYLim https://github.com/xylim)

Error in ploterps (line 574)
neozeroaxes(1, fsaxtick, BCKGCOLOR)

Error in pop_ploterps (line 684)
ploterps(ERP, binArray, chanArray, qpstyle, qMgfp, qBlc, qxscale, qyscale, qLineWidth, qisiy,
qFontSizeChan, qFontSizeLeg, qFontSizeTicks, qerrorstd,...

Error in pop_ploterps (line 301)
[ERP, erpcom] = pop_ploterps(ERP, binArray, chanArray, 'AutoYlim', rAutoYlim, 'BinNum', rBinNum,
'Blc', blcorr,...

Error while evaluating Menu Callback

I have already made the bug fixes suggested on this link to do with matlabs new graphics system HANDLE.LISTNER:
92aa0d8#diff-117ef48043c2fdde0d05f3198438c8f4 92aa0d8#diff-117ef48043c2fdde0d05f3198438c8f4
I don't know what else to do. Has there been any progress since the previous posts?

Thanks,
Xavier


Reply to this email directly or view it on GitHub #27 (comment).

@diazlab
Copy link

diazlab commented Jul 1, 2015

regarding the error:

Event 'PropertyPostSet' is not defined for class 'matlab.graphics.axis.Axes'.

I was able to resolve what I believe is the same issue in an unrelated code (rotateXlabels from the file exchange), by changing all occurrences of 'PropertyPostSet' to 'PostSet'.

@jasonarita
Copy link
Contributor

@inheniero provided a fix for this issue in commit b18dd09, as detailed in Issue #16. Try using the latest ERPLAB 4.0.4.2 pre-release and see if that solves your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants