Class template Dune::XT::Grid::PgfOutput¶
-
template<class GridType>
class Dune::XT::Grid::PgfOutput¶ Provider of three types of latex drawings for Grid
-
void Dune::XT::Grid::PgfOutput::leaf(std::ostream &file, const bool includable = true) const¶
print a tex representation of any given 2D grid leaf level to file
-
void Dune::XT::Grid::PgfOutput::stacked(std::ostream &file, const int refineLevel, const bool includable = true)¶
refine given grid refineLevel times and draw all entities into the same figure
:param includable: true: only output tikzpicture environment false: wrap tikzpicture environment in complete document :param refineLevel: passed to Grid::globalRefine :param file: the output stream
-
void Dune::XT::Grid::PgfOutput::refineseries(std::ostream &file, const int refineLevel, const bool includable = true)¶
refine given grid refineLevel times and create a subfigure for each level
The written latex code allows tweaking by changing values of gridplotscale, gridcoordscale and gridlinewidth
:param includable: true: only output figure environment false: wrap figure environment in complete document :param refineLevel: passed to Grid::globalRefine :param file: the output stream