const int polar_angle = 0,
const Coloring coloring = level_number,
const bool convert_level_number_to_height = false,
- const bool label_level_number = true,
- const bool label_cell_index = true,
+ const bool label_level_number = false,
+ const bool label_cell_index = false,
const bool label_material_id = false,
const bool label_subdomain_id = false,
- const bool draw_colorbar = true,
- const bool draw_legend = true);
+ const bool draw_colorbar = false,
+ const bool draw_legend = false);
};
/**
std::string tria_1_out =
"tria-1-" + std::to_string(Utilities::MPI::this_mpi_process(MPI_COMM_WORLD)) + ".svg";
std::ofstream tria_1_out_stream(tria_1_out);
- GridOut().write_svg(tria_0, tria_0_out_stream);
- GridOut().write_svg(tria_1, tria_1_out_stream);
+ GridOut go;
+ go.set_flags (GridOutFlags::Svg(2, 4, true, GridOutFlags::Svg::white, 0, 0, GridOutFlags::Svg::level_number, false, true, true));
+ go.write_svg(tria_0, tria_0_out_stream);
+ go.write_svg(tria_1, tria_1_out_stream);
}
deallog << "tria 0 cells:" << std::endl;
GridOut grid_out;
GridOutFlags::Svg svg_flags;
- svg_flags.coloring = GridOutFlags::Svg::level_number;
- svg_flags.label_material_id = true;
- svg_flags.background = GridOutFlags::Svg::transparent;
+ svg_flags.coloring = GridOutFlags::Svg::level_number;
+ svg_flags.label_material_id = true;
+ svg_flags.background = GridOutFlags::Svg::transparent;
+ svg_flags.label_level_number = true;
+ svg_flags.label_cell_index = true;
+ svg_flags.draw_legend = true;
+ svg_flags.draw_colorbar = true;
grid_out.set_flags(svg_flags);
grid_out.write_svg(create_grid(), deallog.get_file_stream());
svg_flags.level_height_factor = .5;
svg_flags.height = 0;
svg_flags.width = 2000;
+ svg_flags.label_level_number = true;
+ svg_flags.label_cell_index = true;
+ svg_flags.draw_legend = true;
+ svg_flags.draw_colorbar = true;
+
grid_out.set_flags(svg_flags);
grid_out.write_svg(create_grid(), deallog.get_file_stream());