Skip to content

Commit 110098f

Browse files
authored
Add files via upload
1 parent df41f5f commit 110098f

10 files changed

Lines changed: 21 additions & 19 deletions

assets/tutorials/blender_shading/blender_rt/code/example_figure.jl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ begin # hide
33
using GMT # hide
44
GMT.isFranklin[1] = true # hide
55
getpath4docs(file::String) = joinpath("..", "..", "..", "..", "..", file) # hide
6-
using GMT
7-
8-
I = grdimage(Gwib, C=:earth, img_out=true); # Hide
9-
Iblend = gmtread("https://oceania.generic-mapping-tools.org/cache/wiberia_shade_blender.png"); # Hide
10-
# Blend the tint and the shades (darken)
11-
Iburn = blendimg!(I, Iblend, mode="LinearBurn", new=true);
12-
13-
# Apply illunination to the previous image
14-
Ib = blendimg!(Iburn, Iblend, mode="Screen", new=true);
15-
6+
using GMT
7+
8+
I = grdimage(Gwib, C=:earth, img_out=true); # Hide
9+
Iblend = gmtread("https://oceania.generic-mapping-tools.org/cache/wiberia_shade_blender.png"); # Hide
10+
# Blend the tint and the shades (darken)
11+
Iburn = blendimg!(I, Iblend, mode="LinearBurn", new=true);
12+
13+
# Apply illunination to the previous image
14+
Ib = blendimg!(Iburn, Iblend, mode="Screen", new=true);
15+
1616
viz(Ib, coast=true)
1717
end # hide
18-
mv(joinpath(tempdir(), "GMTjl_" * GMT.TMPDIR_USR[2] * "." * "png"), joinpath(@OUTPUT, "example_9095517609425410923.png"), force=true); # hide
18+
mv(joinpath(tempdir(), "GMTjl_" * GMT.TMPDIR_USR[2] * "." * "png"), joinpath(@OUTPUT, "example_8455266836820414466.png"), force=true); # hide
1919
GMT.isFranklin[1] = false # hide
2020
GMT.IamModern[1] = false # hide
2121

3.9 MB
Loading
141 KB
Loading
2.4 MB
Loading
157 KB
Loading
4.38 MB
Loading
180 KB
Loading
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +0,0 @@
1-
MethodError: no method matching setindex!(::Base.RefValue{Bool}, ::Bool, ::Int64)
2-
3-
Closest candidates are:
4-
setindex!(::Base.RefValue, ::Any)
5-
@ Base refvalue.jl:60
6-
setindex!(::Ref, ::Any, !Matched::CartesianIndex{0})
7-
@ Base multidimensional.jl:1942
8-
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# GMT 6 Session common arguments shelf
2+
BEGIN GMT 6.7.0
3+
B afWSen
4+
J X
5+
JG G0/45/15c
6+
JM M15c
7+
JX X15c/0
8+
R -10.5/-5/35/44
9+
@L 2
10+
END
1.45 MB
Loading

0 commit comments

Comments
 (0)