Skip to content

Commit 3adb86c

Browse files
committed
polish
1 parent 246b11a commit 3adb86c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

python/cone-plot.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jupyter:
3737
title: 3D Cone Plots | Plotly
3838
---
3939

40-
A cone plot is the 3D equivalent of a 2D [quiver plot](./quiver-plots/), i.e., it represents a 3D vector field using cones to represent the direction and norm of the vectors. 3-D coordinates are given by `x`, `y` and `z`, and the coordinates of the vector field by `u`, `v` and `w`.
40+
A cone plot is the 3D equivalent of a 2D [quiver plot](./quiver-plots/), i.e., it represents a 3D vector field using cones to represent the direction and norm of the vectors. 3-D coordinates are given by `x`, `y` and `z`, and the coordinates of the vector field by `u`, `v` and `w`. The color of the cones correspond to the local value of the vector norm.
4141

4242
### Basic 3D Cone
4343

@@ -47,6 +47,7 @@ import plotly.graph_objects as go
4747

4848
fig = go.Figure(data=go.Cone(x=[1], y=[1], z=[1], u=[1], v=[1], w=[0]))
4949

50+
# Move camera for clearer view of cone
5051
fig.update_layout(scene_camera_eye=dict(x=-0.76, y=1.8, z=0.92))
5152

5253
fig.show()

python/quiver-plots.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jupyter:
3838

3939
#### Basic Quiver Plot
4040

41+
A quiver plot is a representation of a 2-D vector field. Coordinates are given by `x` and `y`, and vector coordinates by `u` and `v`.
42+
4143
```python
4244
import plotly.figure_factory as ff
4345

0 commit comments

Comments
 (0)