Back to the main page.

Bug 239 - ft_plot_slice default location of [0 0 0] fails

Status CLOSED FIXED
Reported 2010-11-26 13:49:00 +0100
Modified 2010-11-30 11:55:27 +0100
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 normal
Assigned to: Joint development user
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2010-11-26 13:49:14 +0100

If you do ft_plot_slice(randn(128, 128, 128)) the default for location is [0 0 0] whereas [64 64 64] is more appropriate. In case a transform is specified, the [0 0 0 ] default is fine


Jan-Mathijs Schoffelen - 2010-11-30 11:55:18 +0100

loc now defaults to the midpoint of the volumetric block if transform is not given, or if transform is identity