-
-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #27866: Introduce graphics insets
This ticket introduces graphics insets, i.e. it allows to have various `Graphics` objects at arbitrary locations and sizes on a single figure. Previously, only graphics arrays, i.e. `Graphics` objects arranged in a regular array, were possible. This is made possible thanks to the generic class `MultiGraphics` introduced in #27865. The user interface is constituted of three new functions: - the method `Graphics.inset()`, which adds an inset to a given graphics; see this [https://sagemanifolds.obspm.fr/preview/graphics_inse t/reference/plotting/sage/plot/graphics.html#sage.plot.graphics.Graphics .inset preview example] - the method `MultiGraphics.inset()`, which adds an inset to a multi- graphics (e.g. a `GraphicsArray`); see this [https://sagemanifolds.obspm .fr/preview/graphics_inset/reference/plotting/sage/plot/multigraphics.ht ml#sage.plot.multigraphics.MultiGraphics.inset preview example] - the function `multi_graphics()` , which creates a figure from a list of `Graphics` objects at user-specified locations; see this [https://sag emanifolds.obspm.fr/preview/graphics_inset/reference/plotting/sage/plot/ plot.html#sage.plot.plot.multi_graphics preview example] URL: https://trac.sagemath.org/27866 Reported by: egourgoulhon Ticket author(s): Eric Gourgoulhon Reviewer(s): Markus Wageringel
- Loading branch information
Showing
5 changed files
with
658 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.