ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
PlotEllipse.m
Go to the documentation of this file.
1%> \brief
2%> This is the PlotEllipse class for generating
3%> instances of 2-dimensional Ellipse [Plot visualizations](@ref Plot)
4%> based on the relevant MATLAB
5%> intrinsic functions.<br>
6%>
7%> \note
8%> See the documentation of the constructor of the class
9%> [pm.vis.PlotEllipse](@ref PlotEllipse::PlotEllipse) for example usage.<br>
10%>
11%> \note
12%> See the documentation of the attributes
13%> of the superclass [pm.vis.Plot](@ref Plot).<br>
14%>
15%> \see
16%> [pm.vis.Cascade](@ref Cascade)<br>
17%> [pm.vis.Subplot](@ref Subplot)<br>
18%> [pm.vis.Triplex](@ref Triplex)<br>
19%> [pm.vis.Figure](@ref Figure)<br>
20%> [pm.vis.Plot](@ref Plot)<br>
21%> [pm.vis.Tile](@ref Tile)<br>
22%>
23%> \final
24%>
25%> \author
26%> \JoshuaOsborne, May 21 2024, 6:05 PM, University of Texas at Arlington<br>
27%> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
28%> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin<br>
29classdef PlotEllipse < pm.vis.Plot
30
31 methods(Access = public)
32
33 %> \brief
34 %> Construct and return an object of class [pm.vis.PlotEllipse](@ref PlotEllipse).<br>
35 %>
36 %> \details
37 %> This is the constructor of the class [pm.vis.PlotEllipse](@ref PlotEllipse).<br>
38 %>
39 %> \param[in] gramian : See the corresponding input argument to the class [pm.vis.SubplotEllipse](@ref SubplotEllipse).<br>
40 %> \param[in] center : See the corresponding input argument to the class [pm.vis.SubplotEllipse](@ref SubplotEllipse).<br>
41 %> \param[in] cval : See the corresponding input argument to the class [pm.vis.SubplotEllipse](@ref SubplotEllipse).<br>
42 %> \param[in] varargin : Any ``property, value`` pair of the parent object.<br>
43 %> If the property is a ``struct()``, then its value must be given as a cell array,
44 %> with consecutive elements representing the struct ``property-name, property-value`` pairs.<br>
45 %> Note that all of these property-value pairs can be also directly set via the
46 %> parent object attributes, before calling the ``make()`` method.<br>
47 %>
48 %> \return
49 %> ``self`` : The output object of class [pm.vis.PlotEllipse](@ref PlotEllipse).<br>
50 %>
51 %> \interface{PlotEllipse}
52 %> \code{.m}
53 %>
54 %> p = pm.vis.PlotEllipse();
55 %> p = pm.vis.PlotEllipse(gramian);
56 %> p = pm.vis.PlotEllipse(gramian, center);
57 %> p = pm.vis.PlotEllipse(gramian, center, cval);
58 %> p = pm.vis.PlotEllipse(gramian, center, cval, varargin);
59 %>
60 %> \endcode
61 %>
62 %> \note
63 %> The input ``varargin`` can also contain the components
64 %> of the ``subplot`` component of the parent object.<br>
65 %>
66 %> \note
67 %> See the documentation of the attributes
68 %> of the superclass [pm.vis.Plot](@ref Plot).<br>
69 %>
70 %> \example{PlotEllipse}
71 %> \include{lineno} example/vis/PlotEllipse/main.m
72 %> \vis{PlotEllipse}
73 %> <br>\image html example/vis/PlotEllipse/PlotEllipse.1.png width=700
74 %>
75 %> \final{PlotEllipse}
76 %>
77 %> \author
78 %> \JoshuaOsborne, May 21 2024, 9:53 AM, University of Texas at Arlington<br>
79 %> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
80 %> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin<br>
81 function self = PlotEllipse(gramian, center, cval, varargin)
82 %%%% Define the missing optional values as empty with the right rank.
83 if nargin < 3
84 cval = zeros(0, 0);
85 end
86 if nargin < 2
87 center = zeros(0, 0);
88 end
89 if nargin < 1
90 gramian = zeros(0, 0, 0);
91 end
92 self = self@pm.vis.Plot(pm.vis.SubplotEllipse(gramian, center, cval), varargin{:});
93 end
94
95 end
96
97end
function name(in vendor)
Return the MPI library name as used in naming the ParaMonte MATLAB shared library directories.
This is the abstract class for generating instances of objects that contain the specifications of a c...
Definition: Cascade.m:32
This is the abstract class for generating instances of objects that contain the specifications of var...
Definition: Figure.m:27
This is the PlotEllipse class for generating instances of 2-dimensional Ellipse Plot visualizations b...
Definition: PlotEllipse.m:30
function PlotEllipse(in gramian, in center, in cval, in varargin)
Construct and return an object of class pm.vis.PlotEllipse.
This is the base class for generating instances of objects that contain the specifications of various...
Definition: Plot.m:29
This is the SubplotEllipse class for generating instances of 2-dimensional Ellipse Subplot visualizat...
This is the abstract class for generating instances of axes with various types of plots from one or m...
Definition: Subplot.m:188
This is the abstract class for generating instances of objects that contain the specifications of var...
Definition: Tile.m:23
This is the base class for generating instances of figures containing a square symmetric tiling of su...
Definition: Triplex.m:31