Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c328c50

Browse files
committed
Deploying to master from @ 984f397 🚀
1 parent 3675bc5 commit c328c50

File tree

19 files changed

+25
-31
lines changed

19 files changed

+25
-31
lines changed
18.6 KB
Loading
-1.46 KB
Loading
-1.69 KB
Loading
-7.13 KB
Loading
-20.7 KB
Loading
-11.8 KB
Loading

‎assets/menu2/ex3d_1.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
using Gnuplot
33
x, y = [0,1,2], [0,1,2]
44
Z = [10 10 10; 10 3 10; 10 2 10]
5-
@gsp x y Z "w l lc 'red'"
5+
@gsp x y Z "w l lc 'red'" "set view equal xyz"
66
save(term="png", output="./code/plt3d_ex1.png") # hide

‎assets/menu2/sphere1.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ x = [r * cos(θ) * sin(ϕ) for θ in Θ, ϕ in Φ]
66
y = [r * sin(θ) * sin(ϕ) for θ in Θ, ϕ in Φ]
77
z = [r * cos(ϕ) for θ in Θ, ϕ in Φ]
88
@gsp "set pm3d depthorder" :-
9-
@gsp :- x y z "w l"
9+
@gsp :- x y z "w l" "set view equal xyz"
1010
save(term="pngcairo size 600,600", output="sphere1.png") # hide

‎assets/menu2/sphere2.jl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ x = [r * cos(θ) * sin(ϕ) for θ in Θ, ϕ in Φ]
66
y = [r * sin(θ) * sin(ϕ) for θ in Θ, ϕ in Φ]
77
z = [r * cos(ϕ) for θ in Θ, ϕ in Φ]
88
@gsp "set pm3d depthorder" :-
9-
@gsp :- "set style fill transparent solid 0.5"
9+
@gsp :- "set style fill transparent solid 0.5" "set view equal xyz"
1010
@gsp :- x y z "w pm3d notit" "set xyplane 0" palette(:viridis)
11-
save(term="pngcairo size 600,600", output="sphere2.png") # hide
11+
save(term="pngcairo size 600,600", output="sphere2.png") # hide

‎assets/menu2/sphere3.jl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ x = [r * cos(θ) * sin(ϕ) for θ in Θ, ϕ in Φ]
66
y = [r * sin(θ) * sin(ϕ) for θ in Θ, ϕ in Φ]
77
z = [r * cos(ϕ) for θ in Θ, ϕ in Φ]
88
@gsp "set pm3d depthorder" :-
9-
@gsp :- "set style fill solid 1.0 noborder"
9+
@gsp :- "set style fill solid 1.0 noborder" "set view equal xyz"
1010
@gsp :- "set pm3d lighting primary 0.5 specular 0.6"
1111
@gsp :- x y z "w pm3d notit" "set xyplane 0" palette(:viridis)
12-
save(term="pngcairo size 600,600", output="sphere3.png") # hide
12+
save(term="pngcairo size 600,600", output="sphere3.png") # hide

0 commit comments

Comments
 (0)