1
1
ENV [" MPLBACKEND" ]= " agg"
2
2
using Documenter, SimplexGridFactory, ExtendableGrids, Literate, PyPlot
3
+ using . GridVisualize
3
4
4
5
example_md_dir = joinpath (@__DIR__ ," src" ," examples" )
5
6
@@ -11,39 +12,39 @@ include(examples3d)
11
12
12
13
function makeplots (picdir)
13
14
clf ()
14
- gridplot (triangulation_of_domain (), Plotter= PyPlot)
15
+ visualize (triangulation_of_domain (), Plotter= PyPlot)
15
16
savefig (joinpath (picdir," triangulation_of_domain.svg" ))
16
17
17
18
clf ()
18
- gridplot (nicer_triangulation_of_domain (), Plotter= PyPlot)
19
+ visualize (nicer_triangulation_of_domain (), Plotter= PyPlot)
19
20
savefig (joinpath (picdir," nicer_triangulation_of_domain.svg" ))
20
21
21
22
clf ()
22
- gridplot (triangulation_of_domain_with_subregions (), Plotter= PyPlot)
23
+ visualize (triangulation_of_domain_with_subregions (), Plotter= PyPlot)
23
24
savefig (joinpath (picdir," triangulation_of_domain_with_subregions.svg" ))
24
25
25
26
clf ()
26
- gridplot (square_localref (), Plotter= PyPlot)
27
+ visualize (square_localref (), Plotter= PyPlot)
27
28
savefig (joinpath (picdir," square_localref.svg" ))
28
29
29
30
clf ()
30
- gridplot (direct_square (), Plotter= PyPlot)
31
+ visualize (direct_square (), Plotter= PyPlot)
31
32
savefig (joinpath (picdir," direct_square.svg" ))
32
33
33
34
clf ()
34
- gridplot (swiss_cheese_2d (), Plotter= PyPlot)
35
+ visualize (swiss_cheese_2d (), Plotter= PyPlot)
35
36
savefig (joinpath (picdir," swiss_cheese_2d.svg" ))
36
37
37
38
clf ()
38
- gridplot (swiss_cheese_2d (), Plotter= PyPlot)
39
+ visualize (swiss_cheese_2d (), Plotter= PyPlot)
39
40
savefig (joinpath (picdir," swiss_cheese_2d.svg" ))
40
41
41
42
clf ()
42
- gridplot (tetrahedralization_of_cube (), Plotter= PyPlot, zplane= 0.5 )
43
+ visualize (tetrahedralization_of_cube (), Plotter= PyPlot, zplane= 0.5 )
43
44
savefig (joinpath (picdir," tetrahedralization_of_cube.svg" ))
44
45
45
46
clf ()
46
- gridplot (tet_cube_with_primitives (), Plotter= PyPlot, zplane= 5 , azim= 47 , elev= 80 , interior= false )
47
+ visualize (tet_cube_with_primitives (), Plotter= PyPlot, zplane= 5 , azim= 47 , elev= 80 , interior= false )
47
48
savefig (joinpath (picdir," tet_cube_with_primitives.svg" ))
48
49
49
50
0 commit comments