Back to the main page.

Bug 3248 - ft_plot_sens does not allow to specify the colors of the electrodes

Status CLOSED FIXED
Reported 2017-02-09 13:59:00 +0100
Modified 2019-08-10 12:41:52 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Arjen Stolk
URL:
Tags:
Depends on:
Blocks:
See also: http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=3247

Robert Oostenveld - 2017-02-09 13:59:03 +0100

I started with ft_plot_ortho with style=intersect, and then wanted to add electrodes. Of course they are difficult to see against a black/grey background. I had expected ft_plot_sens(elec, 'style', 'r.') to plot them as red points, but they stay black.


Arjen Stolk - 2017-02-09 18:38:01 +0100

If possible, ft_plot_sens would also support specifying parameters such as facecolor and markersize. As it is now that requires doing the following: hs = ft_plot_sens(elec_tal_fr, 'style', 'ko'); set(hs, 'MarkerFaceColor', 'k', 'MarkerSize', 7);


Arjen Stolk - 2017-03-03 05:16:16 +0100

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


Arjen Stolk - 2017-03-11 19:27:17 +0100

Fixed by Sandon


Robert Oostenveld - 2019-08-10 12:35:38 +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:41:52 +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.