@@ -47,7 +47,7 @@ function triangulation_of_domain()
4747end
4848
4949#
50- # 
50+ # 
5151#
5252
5353#
@@ -80,7 +80,7 @@ function nicer_triangulation_of_domain()
8080 builder
8181end
8282#
83- # 
83+ # 
8484#
8585
8686# ## Triangulation with subregions
@@ -120,7 +120,7 @@ function triangulation_of_domain_with_subregions()
120120 builder
121121end
122122#
123- # 
123+ # 
124124#
125125
126126# ## Direct specification of input arrays
@@ -138,7 +138,7 @@ function direct_square(Generator = Triangulate)
138138 regionvolumes = [0.01 ])
139139end
140140#
141- # 
141+ # 
142142#
143143
144144# ## Local refinement
@@ -179,7 +179,7 @@ function square_localref()
179179 builder
180180end
181181#
182- # 
182+ # 
183183#
184184
185185# ## Domain with holes
@@ -245,7 +245,7 @@ function swiss_cheese_2d()
245245 builder
246246end
247247#
248- # 
248+ # 
249249#
250250
251251# ## Glueing in another grid
@@ -297,7 +297,7 @@ function glue_2d()
297297 grid2 = glue (grid1, grid2)
298298end
299299#
300- # 
300+ # 
301301#
302302
303303
@@ -307,27 +307,27 @@ using GridVisualize
307307function generateplots (picdir; Plotter = nothing )
308308 if isdefined (Plotter, :Makie )
309309 size = (600 , 300 )
310- Plotter. activate! (; type = " svg " , visible = false )
310+ Plotter. activate! (; type = " png " , visible = false )
311311
312312 p = builderplot (triangulation_of_domain (); Plotter, size)
313- Plotter. save (joinpath (picdir, " triangulation_of_domain.svg " ),p)
313+ Plotter. save (joinpath (picdir, " triangulation_of_domain.png " ),p)
314314
315315 p = builderplot (nicer_triangulation_of_domain (); Plotter, size)
316- Plotter. save (joinpath (picdir, " nicer_triangulation_of_domain.svg " ),p)
316+ Plotter. save (joinpath (picdir, " nicer_triangulation_of_domain.png " ),p)
317317
318318 p = builderplot (triangulation_of_domain_with_subregions (); Plotter, size)
319- Plotter. save (joinpath (picdir, " triangulation_of_domain_with_subregions.svg " ),p)
319+ Plotter. save (joinpath (picdir, " triangulation_of_domain_with_subregions.png " ),p)
320320
321321 p = builderplot (square_localref (); Plotter, size)
322- Plotter. save (joinpath (picdir, " square_localref.svg " ),p)
322+ Plotter. save (joinpath (picdir, " square_localref.png " ),p)
323323
324324 p = gridplot (direct_square (); Plotter, size)
325- Plotter. save (joinpath (picdir, " direct_square.svg " ),p)
325+ Plotter. save (joinpath (picdir, " direct_square.png " ),p)
326326
327327 p = builderplot (swiss_cheese_2d (); Plotter, size)
328- Plotter. save (joinpath (picdir, " swiss_cheese_2d.svg " ),p)
328+ Plotter. save (joinpath (picdir, " swiss_cheese_2d.png " ),p)
329329
330330 p = gridplot (glue_2d (); Plotter, size)
331- Plotter. save (joinpath (picdir, " glue_2d.svg " ),p)
331+ Plotter. save (joinpath (picdir, " glue_2d.png " ),p)
332332 end
333333end
0 commit comments