Expand the `plot_3d_slicer` to other `vTypes` and `views`
Expand plot_3d_slicer
Addresses #116 .
Bug fix
First, it contains a minor bug-fix in the scrolling behavior (last element in each direction was not acceptable, only noticeable in small grids).
vType
Included all non-vector vType
's: CC
, Ex
, Ey
, Ez
, Fx
, Fy
, Fz
.
view
Included all view
's except vec
(real
[default]; imag
; abs
; tested them all, seems to be fine).
Name-clash
There is a problem with the view
-parameter, which I stupidly used to switch the x-y-axis. I changed the previous view
-parameter to axis
(hence axis='xy'
or 'yx'
). It is better to change this than to have different parameters as, for instance, in plotSlice
. I added a switch for backwards-compatibility (if view in ['xy', 'yx']
=> it sets axis = view; view = 'real'
).