FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
gnuplot/docs/webp_figures.gnu at 5.5 · gnuplot/gnuplot · GitHub
gnuplot
gnuplot
Repository navigation
Code
Pull requests
2
(2)
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
gnuplot
/
docs
/
webp_figures.gnu
Copy path
More file actions
More file actions
Latest commit
History
History
History
59 lines (47 loc) · 1.36 KB
Breadcrumbs
gnuplot
/
docs
/
webp_figures.gnu
Copy path
File metadata and controls
59 lines (47 loc) · 1.36 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
#
generate animations for inclusion with HTML help documents
#
set
term webp animate delay
50
size
300
,
300
set
output
'
./html/figure_spinning_d20.webp
'
unset
border
;
unset
tics
;
unset
key
;
set
view
equal xyz
set
margins
0
,
0
,
0
,
0
set
pm3d
border
linecolor
"
black
"
do
for
[ang=
1
:
360
:
2
] {
set
view
60
, ang,
1.7
splot
'
icosahedron.dat
'
with
polygons fc
"
gold
"
}
unset
output
set
term pngcairo
size
300
,
300
set
output
'
./html/figure_static_d20.png
'
replot
unset
output
reset
#
#
Convex hull used to mask a pm3d surface
#
(webp because the svg version is 10x larger)
#
set
term webp font
"
Calisto MT,12
"
noanimate
size
600
,
400
set
output
'
./html/figure_mask.webp
'
set
view
map
set
palette
rgb
33
,
13
,
10
set
xrange
[
-30
:
25
]
set
yrange
[
-30
:
25
]
set
dgrid3d
100
,
100
gauss
5
set
pm3d
explicit
unset
key
unset
tics
unset
colorbox
unset
border
set
table $HULL
plot
'
mask_pm3d.dat
'
using
1
:
2
convexhull
with
lines
title
"
Convex hull
"
unset
table
set
multiplot
layout
1
,
2
spacing
0.0
margins
0.05
,
0.95
,
0.0
,
0.85
set
title
"
Cluster of points\n defining the mask region
"
splot
'
mask_pm3d.dat
'
using
1
:
2
:
3
with
pm3d
, \
'
mask_pm3d.dat
'
using
1
:
2
:(
0
) nogrid
with
points pt
7
ps .
5
lc
"
black
"
set
pm3d
interp
3
,
3
set
title
"
pm3d surface masked by\nconvex hull of the cluster
"
splot
$HULL
using
1
:
2
:(
0
)
with
mask, \
'
mask_pm3d.dat
'
using
1
:
2
:
3
mask
with
pm3d
unset
multiplot
reset
Back
|
FazBrowse Home
|
New Git URL