fix these bugs
This commit is contained in:
parent
5866fa9531
commit
98eccda0f7
@ -1,4 +1,4 @@
|
||||
version: "0.19"
|
||||
version: "0.20"
|
||||
engine: julia
|
||||
|
||||
project:
|
||||
|
@ -359,7 +359,6 @@ We can parameterize the sphere by plotting values for $x$, $y$, and $z$ produced
|
||||
|
||||
|
||||
```{julia}
|
||||
#| eval: false
|
||||
thetas = range(0, stop=pi, length=50)
|
||||
phis = range(0, stop=pi/2, length=50)
|
||||
|
||||
@ -379,8 +378,6 @@ For convenience, the `plot_parametric` function from `CalculusWithJulia` can pro
|
||||
|
||||
|
||||
```{julia}
|
||||
#| eval: false
|
||||
#| hold: true
|
||||
F(theta, phi) = [X(1, theta, phi), Y(1, theta, phi), Z(1, theta, phi)]
|
||||
plot_parametric(0..pi, 0..pi/2, F)
|
||||
```
|
||||
@ -402,7 +399,6 @@ $$
|
||||
To illustrate, we have:
|
||||
|
||||
```{julia}
|
||||
#| eval: false
|
||||
# cf. https://discourse.julialang.org/t/general-plotting-code-for-cone-in-3d-with-glmakie-or-plots/92104/3
|
||||
|
||||
basecurve(u) = [cos(u), sin(u) + sin(u/2), 0]
|
||||
@ -421,7 +417,6 @@ To use it, we see what happens when a sphere if rendered:
|
||||
|
||||
|
||||
```{julia}
|
||||
#| eval: false
|
||||
#| hold: true
|
||||
f(x,y,z) = x^2 + y^2 + z^2 - 25
|
||||
CalculusWithJulia.plot_implicit_surface(f)
|
||||
@ -431,7 +426,6 @@ This figure comes from a February 14, 2019 article in the [New York Times](https
|
||||
|
||||
|
||||
```{julia}
|
||||
#| eval: false
|
||||
#| hold: true
|
||||
a,b = 1,3
|
||||
f(x,y,z) = (x^2+((1+b)*y)^2+z^2-1)^3-x^2*z^3-a*y^2*z^3
|
||||
|
Loading…
Reference in New Issue
Block a user