Skip to content

Commit 753531d

Browse files
use the standard plot heights
1 parent aa59736 commit 753531d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/disk.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ F = [f(r*cospi(θ), r*sinpi(θ)) for r in r, θ in θ]
4343
# We superpose a surface plot of $f$ on top of the grid:
4444
X = [r*cospi(θ) for r in r, θ in θ]
4545
Y = [r*sinpi(θ) for r in r, θ in θ]
46-
scatter3d(vec(X), vec(Y), vec(0F); markersize=0.75, markercolor=:red, size=(800, 600))
46+
scatter3d(vec(X), vec(Y), vec(0F); markersize=0.75, markercolor=:red)
4747
surface!(X, Y, F; legend=false, xlabel="x", ylabel="y", zlabel="f")
4848
savefig(joinpath(GENFIGS, "zernike.html"))
4949
###```@raw html
50-
###<object type="text/html" data="../zernike.html" style="width:100%;height:600px;"></object>
50+
###<object type="text/html" data="../zernike.html" style="width:100%;height:400px;"></object>
5151
###```
5252

5353
# We precompute a (generalized) Zernike--Chebyshev×Fourier plan:
@@ -101,11 +101,11 @@ F = [f(x[n], w[n]*z) for n in 1:N, z in z]
101101
# We superpose a surface plot of $f$ on top of the grid:
102102
X = [x for x in x, z in z]
103103
Y = [w*z for w in w, z in z]
104-
scatter3d(vec(X), vec(Y), vec(0F); markersize=0.75, markercolor=:green, size=(800, 600))
104+
scatter3d(vec(X), vec(Y), vec(0F); markersize=0.75, markercolor=:green)
105105
surface!(X, Y, F; legend=false, xlabel="x", ylabel="y", zlabel="f")
106106
savefig(joinpath(GENFIGS, "dunklxu.html"))
107107
###```@raw html
108-
###<object type="text/html" data="../dunklxu.html" style="width:100%;height:600px;"></object>
108+
###<object type="text/html" data="../dunklxu.html" style="width:100%;height:400px;"></object>
109109
###```
110110

111111
# We precompute a Dunkl-Xu--Chebyshev plan:

examples/triangle.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ F = [f(x[n+1], x[N-n]*w[m+1]) for n in 0:N-1, m in 0:M-1]
6262
# We superpose a surface plot of $f$ on top of the grid:
6363
X = [x for x in x, w in w]
6464
Y = [x[N-n]*w[m+1] for n in 0:N-1, m in 0:M-1]
65-
scatter3d(vec(X), vec(Y), vec(0F); markersize=0.75, markercolor=:green, size=(800, 600))
65+
scatter3d(vec(X), vec(Y), vec(0F); markersize=0.75, markercolor=:blue)
6666
surface!(X, Y, F; legend=false, xlabel="x", ylabel="y", zlabel="f")
6767
savefig(joinpath(GENFIGS, "proriol.html"))
6868
###```@raw html
69-
###<object type="text/html" data="../proriol.html" style="width:100%;height:600px;"></object>
69+
###<object type="text/html" data="../proriol.html" style="width:100%;height:400px;"></object>
7070
###```
7171

7272
# We precompute a Proriol--Chebyshev² plan:

0 commit comments

Comments
 (0)