ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
Tile Class Reference

This is the abstract class for generating instances of objects that contain the specifications of various types of tile figures.
More...

Inheritance diagram for Tile:
Collaboration diagram for Tile:

Public Member Functions

function Tile (in template, in varargin)
 
function reset (in self, in varargin)
 Reset the properties of the tile to the original default settings. Use this method when you change many attributes of the tile and you want to clean up and go back to the default settings. More...
 
function make (in self, in varargin)
 Configure the tile settings and specifications, make the tile, and return nothing. More...
 
function premake (in self, in varargin)
 Configure the tile settings and specifications and return nothing. More...
 

Data Fields

Property template
 
Property tileshape
 

Detailed Description

This is the abstract class for generating instances of objects that contain the specifications of various types of tile figures.

This is a generic class for generating figures containing multiple subplots (axes) of the same class.

Definition at line 8 of file Tile.m.

Constructor & Destructor Documentation

◆ Tile()

function Tile::Tile ( in  template,
in  varargin 
)
Parameters
tileindex: The MATLAB vector of size 0 or prod(tileshape) containing the list of indices of the tiling to fill with subplots, starting
Note
This class is not meant to be used directly by the end users. Instead, use the subclasses of this abstract class for visualizations.
Parameters
[in]template: The input scalar object of superclass pm.vis.Subplot. It serves as the template based upon which all subplots are constructed.
[in]varargin: Any property, value pair of the parent object.
If the property is a struct(), then its value must be given as a cell array, with consecutive elements representing the struct property-name, property-value pairs. Note that all of these property-value pairs can be also directly set via the parent object attributes, before calling the make() method.
Note
The input varargin can also contain the components of the template component of the parent object.
Returns
self : The output scalar object of class pm.vis.Tile.


Possible calling interfaces

tile = pm.vis.Tile(template);
tile = pm.vis.Tile(template, varargin);
Note
See the list of class attributes below, also those of the superclass pm.vis.Tiling.


Final Remarks


If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.

  1. If you use any parts or concepts from this library to any extent, please acknowledge the usage by citing the relevant publications of the ParaMonte library.
  2. If you regenerate any parts/ideas from this library in a programming environment other than those currently supported by this ParaMonte library (i.e., other than C, C++, Fortran, MATLAB, Python, R), please also ask the end users to cite this original ParaMonte library.

This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.

Author:
Joshua Alexander Osborne, May 22 2024, 7:39 PM, University of Texas at Arlington

Member Function Documentation

◆ make()

function Tile::make ( in  self,
in  varargin 
)

Configure the tile settings and specifications, make the tile, and return nothing.

In making the figure, this method we call the make() methods of each of the subplot objects stored in the subplot component.

Warning
This method has side-effects by manipulating the existing attributes of the parent object.
Parameters
[in]varargin: Any property, value pair of the parent object.
If the property is a struct(), then its value must be given as a cell array, with consecutive elements representing the struct property-name, property-value pairs. Note that all of these property-value pairs can be also directly set via the parent object attributes, before calling the make() method.
Note
The input varargin can also contain the components of the subplot component of the parent object.


Possible calling interfaces

tile = pm.vis.Tile(template, varargin);
tile.make(varargin);
tile.make();


Example usage

t = pm.vis.Tile(pm.vis.SubplotLine());
t.make()

Final Remarks
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
  1. If you use any parts or concepts from this library to any extent, please acknowledge the usage by citing the relevant publications of the ParaMonte library.
  2. If you regenerate any parts/ideas from this library in a programming environment other than those currently supported by this ParaMonte library (i.e., other than C, C++, Fortran, MATLAB, Python, R), please also ask the end users to cite this original ParaMonte library.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Author:
Joshua Alexander Osborne, May 22 2024, 7:44 PM, University of Texas at Arlington
Fatemeh Bagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.
Amir Shahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin

◆ premake()

function Tile::premake ( in  self,
in  varargin 
)

Configure the tile settings and specifications and return nothing.

Warning
This method has side-effects by manipulating the existing attributes of the parent object.
Parameters
[in]varargin: Any property, value pair of the parent object.
If the property is a struct(), then its value must be given as a cell array, with consecutive elements representing the struct property-name, property-value pairs. Note that all of these property-value pairs can be also directly set via the parent object attributes, before calling the premake() method.


Possible calling interfaces

tile = pm.vis.Tile(template, varargin);
tile.premake(varargin);
tile.premake();


Example usage

f = pm.vis.Tile(pm.vis.Line());
f.premake("figure", {"color", "none"})

Final Remarks
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
  1. If you use any parts or concepts from this library to any extent, please acknowledge the usage by citing the relevant publications of the ParaMonte library.
  2. If you regenerate any parts/ideas from this library in a programming environment other than those currently supported by this ParaMonte library (i.e., other than C, C++, Fortran, MATLAB, Python, R), please also ask the end users to cite this original ParaMonte library.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Author:
Joshua Alexander Osborne, May 22 2024, 7:46 PM, University of Texas at Arlington
Fatemeh Bagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.
Amir Shahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin

◆ reset()

function Tile::reset ( in  self,
in  varargin 
)

Reset the properties of the tile to the original default settings. Use this method when you change many attributes of the tile and you want to clean up and go back to the default settings.

Parameters
[in]varargin: Any property, value pair of the parent object.
If the property is a struct(), then its value must be given as a cell array, with consecutive elements representing the struct property-name, property-value pairs. Note that all of these property-value pairs can be also directly set via the parent object attributes, before calling the make() method.
Note
The input varargin can also contain the components of the subplot component of the parent object.


Possible calling interfaces

tile = pm.vis.Tile(template, varargin);
tile.reset(varargin)
tile.reset() % reset the tile to the default settings.
function reset(in self, in varargin)
Reset the properties of the tile to the original default settings. Use this method when you change ma...


Final Remarks


If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.

  1. If you use any parts or concepts from this library to any extent, please acknowledge the usage by citing the relevant publications of the ParaMonte library.
  2. If you regenerate any parts/ideas from this library in a programming environment other than those currently supported by this ParaMonte library (i.e., other than C, C++, Fortran, MATLAB, Python, R), please also ask the end users to cite this original ParaMonte library.

This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.

Author:
Joshua Alexander Osborne, May 22 2024, 7:42 PM, University of Texas at Arlington
Fatemeh Bagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.
Amir Shahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin

Field Documentation

◆ template

Property Tile::template
Parameters
template: The scalar object of superclass pm.vis.Subplot representing the template of the set of subplots to display.

Definition at line 20 of file Tile.m.

◆ tileshape

Property Tile::tileshape
Parameters
tileshape: The MATLAB vector [nrow, ncol] representing the number of rows and columns in the tiled layout of subplots. The default is the closest values of nrow and ncol whose multiplication yields the maximum number of data columns in the visualization.

Definition at line 29 of file Tile.m.


The documentation for this class was generated from the following file: