mne.viz.set_3d_view#
- mne.viz.set_3d_view(figure, azimuth=None, elevation=None, focalpoint=None, distance=None, roll=None, *, reset_camera=None)[source]#
Configure the view of the given scene.
- Parameters:
- figureobject
The scene which is modified.
- azimuth
float
The azimuthal angle of the camera rendering the view in degrees.
- elevation
float
The The zenith angle of the camera rendering the view in degrees.
- focalpoint
tuple
, shape (3,) |str
|None
The focal point of the camera rendering the view: (x, y, z) in plot units (either m or mm). When
"auto"
, it is set to the center of mass of the visible bounds.- distance
float
| “auto” |None
The distance from the camera rendering the view to the focalpoint in plot units (either m or mm). If “auto”, the bounds of visible objects will be used to set a reasonable distance.
Changed in version 1.6:
None
will no longer change the distance, use"auto"
instead.- roll
float
|None
The roll of the camera rendering the view in degrees.
- reset_camerabool
Deprecated, use
distance="auto"
instead.
Examples using mne.viz.set_3d_view
#
Source alignment and coordinate frames
Using an automated approach to coregistration
Head model and forward computation
EEG forward operator with a template MRI
How MNE uses FreeSurfer’s outputs
The role of dipole orientations in distributed source localization
Brainstorm Elekta phantom dataset tutorial
Annotate movement artifacts and reestimate dev_head_t
How to convert 3D electrode positions to a 2D image
Plotting EEG sensors on the scalp
Plotting sensor layouts of EEG systems
Compute source power spectral density (PSD) of VectorView and OPM data
Generate a left cerebellum volume source space
Optically pumped magnetometer (OPM) data