Back to the main page.

Bug 2438 - improve ft_plot_sens for plotting electrodes

Status CLOSED FIXED
Reported 2014-01-16 18:57:00 +0100
Modified 2019-08-10 12:42:11 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Arjen Stolk
URL:
Tags:
Depends on: 2386
Blocks:
See also:

Robert Oostenveld - 2014-01-16 18:57:44 +0100

Right now it is supporting this: % style = plotting style for the points representing the channels, see plot3 (default = 'k.') % coil = true/false, plot each individual coil or the channelposition (default = false) % coildiameter = diameter of the MEG gradiometer coils (default = 0) % label = show the label, can be 'off', 'label', 'number' (default = 'off') % chantype = string or cell-array with strings, for example {'meg', 'megref'} (default = 'all') I suggest to change it into % style = 'coil', 'elec' or something that plot3 understands as style, e.g. 'k.' for black dots % both = true/false, plot both gradiometer coils or only the channel position % coildiameter = diameter of the MEG gradiometer coils (default = 10 mm) % elecdiameter = diameter of the EEG electrode (default = 5 mm) % label = show the label, can be 'off', 'label', 'number' (default = 'off') % chantype = string or cell-array with strings, for example {'meg', 'megref'} (default = 'all') with default style=elec/grad (depending on the input). In case elec, I suggest a small blue sphere. Rather than "coil=1/0", I suggest to use "both=1/0"


Arjen Stolk - 2017-01-03 00:03:54 +0100

Currently, adjusting simple electrode feature still requires a second call using the figure handle. For instance, hs = ft_plot_sens(elec, 'style', 'ko'); set(hs, 'MarkerFaceColor', 'k', 'MarkerSize', 7); Esthetically, ft_plot_sens should allowing specifying something the like of: hs = ft_plot_sens(elec, 'style', 'ko', 'MarkerFaceColor', 'k', 'MarkerSize', 7); This bug may be broadly related to Bug 2386 - plot electrodes as disks in ft_plot_sens


Arjen Stolk - 2017-03-03 05:15:27 +0100

This issue is being addressed in PR 353 https://github.com/fieldtrip/fieldtrip/pull/353


Arjen Stolk - 2017-03-11 19:28:59 +0100

Fixed by Sandon in the respective PR


Arjen Stolk - 2017-03-11 19:29:14 +0100

.


Robert Oostenveld - 2019-08-10 12:35:56 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue on https://github.com/fieldtrip/fieldtrip/issues.


Robert Oostenveld - 2019-08-10 12:42:11 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue on https://github.com/fieldtrip/fieldtrip/issues.