Back to the main page.
Bug 2451 - Matlab 2013b version bug - interacting with plotting function
Status | CLOSED WONTFIX |
Reported | 2014-01-23 11:39:00 +0100 |
Modified | 2016-11-29 09:03:32 +0100 |
Product: | FieldTrip |
Component: | plotting |
Version: | unspecified |
Hardware: | PC |
Operating System: | Windows |
Importance: | P5 normal |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Christina Regenbogen - 2014-01-23 11:39:39 +0100
Created attachment 584 bug visible in plot http://www.natmeg.se/ft_statistics/statistics.html at two thirds of the page, we plot the stats ft_singleplotTFR(cfg,stat); figure 1 displays what happens you can partly remove the inline duplicated stats by removing axis set(gca,'YTickLabel',['']) set(gca,'XTickLabel',[''])
Jan-Mathijs Schoffelen - 2014-03-06 15:49:36 +0100
What is the bug?
Jan-Mathijs Schoffelen - 2014-03-07 13:12:23 +0100
Hi Jan, I actually found out that it is not a Matlab bug, because it is there also in a previous function. The bug is simple: One I create a figure and plot anything a bit more complicated than a simple plot, like a spectrum, and I add x or y tick legends, it multiplies them in a crazy way and the whole figure is full of it. I first started to have this problem with eeglab function (pop_topoplot), but now, also with Fieldtrip. From this rough description, do you have the widest idea what this could be, or should I provide a sample figure … Let me know! Best and thanks for responding to this
Jan-Mathijs Schoffelen - 2014-03-07 13:12:51 +0100
Could you provide some example code please?
Jan-Mathijs Schoffelen - 2014-03-10 16:02:53 +0100
Created attachment 598 figure provided by christina
Jan-Mathijs Schoffelen - 2014-03-10 16:05:09 +0100
Christina e-mailed: Ok, Jan, here is the example. I load a data array (channels, timepoints, events) and want to plot it using pop_envtopo(EEG, [-200 596] ,'limcontrib',[50 150],'compsplot',[5],'title', 'Largest VEP components','electrodes','off'); and what it does is mess up the tick names, or duplicating them in a weird fashion. The same thing happens in fieldtrip, so it is no programme-specific thing and also, not related to my Matlab version (I downgraded it recently …). I noticed it during the Fieldtrip workshop in Stockholm, and Robert suggested to write to bugzilla…. Do you have any clue what to do here? Thanks, Christina JM's reply: I am a bit at a loss what this has to do with FieldTrip. It sounds as if you want to create a composite figure, i.e. consisting of more than 1 set of axes, and then that further refining the figure does not work in the way you expect it to work? is that a correct diagnosis?
Jan-Mathijs Schoffelen - 2014-03-10 16:09:26 +0100
This is what Christina comments: (@Christina, you can actually comment on the website directly, this takes away the need for me to copy over your replies ;-)). Yes. Therefore, it does not have anything to do with Fieldtrip but I thought I had to explain myself why I am writing to this mailing list, I thought up to then you should limit your questions to FT-related questions only …
Jan-Mathijs Schoffelen - 2014-03-10 16:10:22 +0100
OK, we'll discuss this in the team. Let's see what Robert's thoughts were when suggesting to submit to bugzilla.