Back to the main page.
Bug 3247 - ft_plot_slice does not add slices to existing figure
Status | CLOSED WORKSFORME |
Reported | 2017-02-09 13:56:00 +0100 |
Modified | 2019-08-10 12:41:28 +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=3248 |
Robert Oostenveld - 2017-02-09 13:56:37 +0100
or at least that is how it looks... I had expected that with figure hold on ft_plot_slice(..., 'orientation', [1 0 0]) ft_plot_slice(..., 'orientation', [0 1 0]) ft_plot_slice(..., 'orientation', [0 0 1]) I would get a nice cross-sectional view. But the rescaling of the axes at the bottom messes things up. If I do ft_plot_ortho with style=intersection it is fine.
Arjen Stolk - 2017-02-09 18:40:47 +0100
Actually it does plot all slices we recently found, but it requires updating the figure axes, e.g. figure hold on ft_plot_slice(..., 'orientation', [1 0 0]) ft_plot_slice(..., 'orientation', [0 1 0]) ft_plot_slice(..., 'orientation', [0 0 1]) axis([-150 150 -150 150 -150 150]), or whatever the dimensions of the plotting volume are
Arjen Stolk - 2017-04-02 05:13:41 +0200
axis vis3d also does the trick
Robert Oostenveld - 2019-08-10 12:35:17 +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.