Back to the main page.

Bug 2687 - fontsize in ft_multiplotER

Status CLOSED FIXED
Reported 2014-09-18 00:17:00 +0200
Modified 2019-08-10 12:29:48 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 enhancement
Assigned to: Jörn M. Horschig
URL:
Tags:
Depends on:
Blocks:
See also:

Khalid - 2014-09-18 00:17:21 +0200

FieldTrip Course Aston Sept 17th 2014 Using ERF tutorial day 1 in Birmingham. found that the following cfg = []; cfg.showlabels = 'yes'; cfg.fontsize = 6; cfg.layout = 'CTF151.lay'; cfg.ylim = [-3e-13 3e-13]; ft_multiplotER(cfg, avgFC); gives an unsatisfactory font size in the channel labels (too big and not like the nice one on the web page!). changing the cfg.fontsize changed the font of the figure title but not the channle labels. Was advised to post to this site.


Jörn M. Horschig - 2014-09-19 16:14:48 +0200

thanks for reporting this. The error was caused because cfg.fontsize was not passed on to ft_plot_vector, which takes care of plotting the ER traces and labels (if cfg.showlabels = 'yes') svn ci ft_multiplotER.m -m "bugfix #2687 - font size for labels fixed" Sending ft_multiplotER.m Transmitting file data . Committed revision 9816. not quite sure how multiplotTFR is handling this, still need to check


Jörn M. Horschig - 2014-11-12 16:40:47 +0100

ft_multiplotTFR is not calling ft_plot_vector, thus I do not think this is a problem there


Robert Oostenveld - 2019-08-10 12:29:48 +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 describing the issue on https://github.com/fieldtrip/fieldtrip/issues.