Back to the main page.
Bug 926 - ft_xxxplot functions should be made more consistent with their return value
Status | CLOSED DUPLICATE |
Reported | 2011-09-03 16:54:00 +0200 |
Modified | 2011-09-14 14:33:25 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P1 normal |
Assigned to: | |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Robert Oostenveld - 2011-09-03 16:54:46 +0200
some functions return nothing, some a cfg, some a handle. Let's discuss this at the FT meeting! roboos@mentat001> head -1 ft_*plot* ==> ft_clusterplot.m <== function ft_clusterplot(cfg, stat) ==> ft_connectivityplot.m <== function h = ft_connectivityplot(cfg, varargin) ==> ft_headmodelplot.m <== function [cfg] = ft_headmodelplot(cfg, data) ==> ft_layoutplot.m <== function ft_layoutplot(cfg, data) ==> ft_movieplotER.m <== function ft_movieplotER(cfg, timelock) ==> ft_multiplotCC.m <== function ft_multiplotCC(cfg, data) ==> ft_multiplotER.m <== function [cfg] = ft_multiplotER(cfg, varargin) ==> ft_multiplotTFR.m <== function [cfg] = ft_multiplotTFR(cfg, data) ==> ft_neighbourplot.m <== function ft_neighbourplot(cfg, data) ==> ft_singleplotER.m <== function [cfg] = ft_singleplotER(cfg, varargin) ==> ft_singleplotTFR.m <== function [cfg] = ft_singleplotTFR(cfg, data) ==> ft_sourceplot.m <== function [cfg] = ft_sourceplot(cfg, data) ==> ft_spike_plot_isi.m <== function [H] = ft_spike_plot_isih(cfg,isih) ==> ft_spike_plot_isireturn.m <== function [hdl] = ft_spike_plot_isireturn(cfg,isih) ==> ft_spike_plot_jpsth.m <== function [H] = plot_jpsth(cfg,jpsth) ==> ft_spike_plot_psth.m <== function [hdl] = ft_spike_plot_psth(cfg,psth) ==> ft_spike_plot_raster.m <== function [hdl] = ft_spike_plot_raster(cfg, spike) ==> ft_topoplotCC.m <== function cfg = ft_topoplotCC(cfg, freq) ==> ft_topoplotER.m <== function [cfg] = ft_topoplotER(cfg, varargin) ==> ft_topoplotIC.m <== function [cfg] = ft_topoplotIC(cfg, varargin) ==> ft_topoplotTFR.m <== function [cfg] = ft_topoplotTFR(cfg, varargin)
Jan-Mathijs Schoffelen - 2011-09-14 11:16:09 +0200
*** This bug has been marked as a duplicate of bug 951 ***