euclid provide interfaces for both base and grid graphics that allows you to
visualise the geometries you are working with. There is only functionality
for 2D geometries so 3D geometries will be mapped to the plane given by the
mapping_plane argument. The
plot method for geometries will behave like
plot() method and set up a new plotting window based on the
euclid_plot will add to the existing plot and thus use the
coordinate system currently in effect.
euclid_grob will create a grob that
can be rendered with
euclid_plot(x, ..., mapping_plane = "z") euclid_grob( x, ..., unit = "native", name = NULL, gp = gpar(), vp = NULL, mapping_plane = "z" ) # S3 method for euclid_geometry plot( x, y, xlim = NULL, ylim = NULL, mapping_plane = "z", add = FALSE, axes = TRUE, frame.plot = axes, ... )
A geometry vector
Arguments passed along to the specific drawing method.
The unit the values in the geometry corresponds to.
The name of the created grob
A gpar object giving the graphical parameters to use for rendering
A viewport or
Limits of the plot scale. If not given they will be calculated from the bounding box of the input
Should a new plot be created or should the rendering be added to the existing plot?
Should axes be drawn?
Should a box be drawn around the plotting region?
euclid_plot is called for its side effects,
euclid_grob returns a