You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation (view_angles.rst):
- Fix: only one of :: and .. code:: is needed
- Fix: :rc:`axes3d.trackballsize`/2 + :rc:`axes3d.trackballborder` does not work as a formula, use `trackballsize/2 + trackballborder` instead
-Fix: $\sqrt 2 \approx 1.414$ now reads :math:`\sqrt 2 \approx 1.414`
matplotlibrc:
axes3d.mouserotationstyle: trackball
The style 'trackball' as default is likely to make life easier for 99% of the users who don't touch this setting (it is easiest to understand, no surprises, it works the same in the middle and at the edge of the screen, no guesswork as to how it works/what it does).
Copy file name to clipboardExpand all lines: doc/api/toolkits/mplot3d/view_angles.rst
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,7 @@ Henriksen et al. [Henriksen2002]_ provide an overview. In summary:
129
129
.. [5] The style has a corresponding natural implementation as a mechanical device
130
130
.. [6] While it is possible to control roll with the ``trackball`` style, this is not immediately obvious (it requires moving the mouse in large circles) and a bit counterintuitive (the resulting roll is in the opposite direction)
131
131
132
-
You can try out one of the various mouse rotation styles using::
132
+
You can try out one of the various mouse rotation styles using:
133
133
134
134
.. code::
135
135
@@ -155,9 +155,9 @@ You can try out one of the various mouse rotation styles using::
155
155
156
156
Alternatively, create a file ``matplotlibrc``, with contents::
157
157
158
-
axes3d.mouserotationstyle: arcball
158
+
axes3d.mouserotationstyle: trackball
159
159
160
-
(or any of the other styles, instead of ``arcball``), and then run any of
160
+
(or any of the other styles, instead of ``trackball``), and then run any of
161
161
the :ref:`mplot3d-examples-index` examples.
162
162
163
163
The size of the virtual trackball, sphere, or arcball can be adjusted
@@ -177,14 +177,14 @@ originally written for OpenGL [Bell1988]_, and is used in Blender and Meshlab.
177
177
Bell's arcball extends the arcball's spherical control surface with a hyperbola;
178
178
the two are smoothly joined. However, the hyperbola extends all the way beyond
179
179
the edge of the plot. In the mplot3d sphere and arcball style, the border extends
180
-
to a radius :rc:`axes3d.trackballsize`/2 + :rc:`axes3d.trackballborder`.
180
+
to a radius `trackballsize/2 + trackballborder`.
181
181
Beyond the border, the style works like the original: it controls roll only.
182
182
A border width of about 0.2 appears to work well; this is the default.
183
183
To obtain the original Shoemake's arcball with a sharp border,
184
184
set the border width to 0.
185
185
For an extended border similar to Bell's arcball, where the transition from
186
186
the arcball to the border occurs at 45°, set the border width to
187
-
$\sqrt 2 \approx 1.414$.
187
+
:math:`\sqrt2\approx1.414`.
188
188
189
189
190
190
.. [Shoemake1992] Ken Shoemake, "ARCBALL: A user interface for specifying
0 commit comments