Plot Subclasses¶
The following are subclasses from BasePlot
and follow the same API (they just have different default).
Predefined 2D Plots¶
plotify.custom_plots.Plot (PublicationPlot)
¶
__init__(self, *args, *, width = 7500.0, **kwargs)
¶
Description¶
Creates a Plot object.
Arguments¶
title
: The title of the plot. Seeset_title
.height
: The height of the plot.width
: The width of the plot.dpi
: The resolution of the plot.plot3d
: Whether the plot is a 3D plot or not.border
: Whether to draw a thin black border around the frame of the plot.
Example¶
plot = pl.Plot('Title')
plotify.custom_plots.PublicationPlot (BasePlot)
¶
__init__(self, title = '', height = 2600.0, width = 2600.0, dpi = 530.0, *args, **kwargs)
¶
Description¶
Creates a Plot object.
Arguments¶
title
: The title of the plot. Seeset_title
.height
: The height of the plot.width
: The width of the plot.dpi
: The resolution of the plot.plot3d
: Whether the plot is a 3D plot or not.border
: Whether to draw a thin black border around the frame of the plot.
Example¶
plot = pl.Plot('Title')
plotify.custom_plots.LowResPlot (BasePlot)
¶
__init__(self, title = '', height = 975.0, width = 1800.0, dpi = 210.0, *args, **kwargs)
¶
Description¶
Creates a Plot object.
Arguments¶
title
: The title of the plot. Seeset_title
.height
: The height of the plot.width
: The width of the plot.dpi
: The resolution of the plot.plot3d
: Whether the plot is a 3D plot or not.border
: Whether to draw a thin black border around the frame of the plot.
Example¶
plot = pl.Plot('Title')
plotify.custom_plots.ModernPlot (PublicationPlot)
¶
__init__(self, *args, **kwargs)
¶
Description¶
Creates a Plot object.
Arguments¶
title
: The title of the plot. Seeset_title
.height
: The height of the plot.width
: The width of the plot.dpi
: The resolution of the plot.plot3d
: Whether the plot is a 3D plot or not.border
: Whether to draw a thin black border around the frame of the plot.
Example¶
plot = pl.Plot('Title')
plotify.plot.Image (Drawing)
¶
__init__(self, path, *args, **kwargs)
¶
Description¶
Creates a Plot object.
Arguments¶
title
: The title of the plot. Seeset_title
.height
: The height of the plot.width
: The width of the plot.dpi
: The resolution of the plot.plot3d
: Whether the plot is a 3D plot or not.border
: Whether to draw a thin black border around the frame of the plot.
Example¶
plot = pl.Plot('Title')
plotify.plot.Drawing (BasePlot)
¶
__init__(self, *args, **kwargs)
¶
Description¶
Creates a Plot object.
Arguments¶
title
: The title of the plot. Seeset_title
.height
: The height of the plot.width
: The width of the plot.dpi
: The resolution of the plot.plot3d
: Whether the plot is a 3D plot or not.border
: Whether to draw a thin black border around the frame of the plot.
Example¶
plot = pl.Plot('Title')
3D Plots¶
plotify.plot.Plot3D (BasePlot)
¶
__init__(self, *args, **kwargs)
¶
Description¶
Creates a Plot object.
Arguments¶
title
: The title of the plot. Seeset_title
.height
: The height of the plot.width
: The width of the plot.dpi
: The resolution of the plot.plot3d
: Whether the plot is a 3D plot or not.border
: Whether to draw a thin black border around the frame of the plot.
Example¶
plot = pl.Plot('Title')
projection(self, x, y, z = None, alpha = 0.1, linewidth = 0, *args, **kwargs)
¶
set_camera(self, elev = None, azim = None)
¶
Both parameters are angles in [0, 360].
set_notation(self, x = None, y = None, z = None)
¶
surface(self, x, y, z = None, alpha = 0.25, linewidth = 0, *args, **kwargs)
¶
wireframe(self, x, y, z = None, *args, **kwargs)
¶
Animations¶
plotify.plot.Animation
¶
Containers¶
plotify.plot.Container (BasePlot)
¶
__init__(self, rows = 1, cols = 2, height = None, width = None, *args, **kwargs)
¶
Description¶
Creates a Plot object.
Arguments¶
title
: The title of the plot. Seeset_title
.height
: The height of the plot.width
: The width of the plot.dpi
: The resolution of the plot.plot3d
: Whether the plot is a 3D plot or not.border
: Whether to draw a thin black border around the frame of the plot.
Example¶
plot = pl.Plot('Title')
get_plot(self, row, col)
¶
set_plot(self, row, col, plot)
¶
plotify.custom_plots.ListContainer (Container)
¶
__init__(self, list_plots, *args, **kwargs)
¶
Description¶
Creates a Plot object.
Arguments¶
title
: The title of the plot. Seeset_title
.height
: The height of the plot.width
: The width of the plot.dpi
: The resolution of the plot.plot3d
: Whether the plot is a 3D plot or not.border
: Whether to draw a thin black border around the frame of the plot.
Example¶
plot = pl.Plot('Title')