Merge pull request #118 from jverzani/v0.18
edits; parameterized surface
This commit is contained in:
commit
9ee0d1c131
@ -71,7 +71,7 @@ books visit <https://quarto.org/docs/books>.
|
||||
These notes may be compiled into a `pdf` file through Quarto. As the result is rather large, we do not provide that file for download. For the interested reader, downloading the repository, instantiating the environment, and running `quarto` to render to `pdf` in the `quarto` subdirectory should produce that file (after some time).
|
||||
|
||||
To *contribute* -- say by suggesting addition topics, correcting a
|
||||
mistake, or fixing a typo -- click the "Edit this page" link and join the list of [contributors](https://github.com/jverzani/CalculusWithJuliaNotes.jl/graphs/contributors). Thanks to all contributors and a special thanks to `@fangliu-tju` for their careful proofreading.
|
||||
mistake, or fixing a typo -- click the "Edit this page" link and join the list of [contributors](https://github.com/jverzani/CalculusWithJuliaNotes.jl/graphs/contributors). Thanks to all contributors and a *very* special thanks to `@fangliu-tju` for their careful and most-appreciated proofreading.
|
||||
|
||||
----
|
||||
|
||||
|
@ -23,7 +23,6 @@ The `Julia` packages loaded below are all loaded when the `CalculusWithJulia` pa
|
||||
|
||||
A `Julia` package is loaded with the `using` command:
|
||||
|
||||
|
||||
```{julia}
|
||||
using LinearAlgebra
|
||||
```
|
||||
@ -455,6 +454,7 @@ This should be contrasted to the case when both `xs` and `ys` are (column) vecto
|
||||
|
||||
|
||||
```{julia}
|
||||
#| error: true
|
||||
g.(xs, [4,5])
|
||||
```
|
||||
|
||||
@ -710,10 +710,7 @@ implicit_plot(f)
|
||||
### Plotting a parameterized surface $f:R^2 \rightarrow R^3$
|
||||
|
||||
|
||||
The `pyplot` (and `plotly`) backends allow plotting of parameterized surfaces.
|
||||
|
||||
|
||||
The low-level `surface(xs,ys,zs)` is used, and can be specified directly as follows:
|
||||
The `pyplot` (and `plotly`) backends allow plotting of parameterized surfaces. The low-level `surface(xs,ys,zs)` is used, as illustrated here.
|
||||
|
||||
|
||||
```{julia}
|
||||
@ -723,7 +720,7 @@ Y(theta, phi) = sin(phi)*sin(theta)
|
||||
Z(theta, phi) = cos(phi)
|
||||
thetas = range(0, pi/4, length=20)
|
||||
phis = range(0, pi, length=20)
|
||||
surface(X.(thetas, phis'), Y.(thetas, phis'), Z.(thetas, phis'))
|
||||
# surface(X.(thetas, phis'), Y.(thetas, phis'), Z.(thetas, phis'))
|
||||
```
|
||||
|
||||
### Plotting a vector field $F:R^2 \rightarrow R^2$.
|
||||
|
Loading…
Reference in New Issue
Block a user