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

This is the PlotContourf class for generating instances of 2-dimensional Contourf Plot visualizations based on the relevant MATLAB intrinsic functions.
More...

Inheritance diagram for PlotContourf:
Collaboration diagram for PlotContourf:

Public Member Functions

function PlotContourf (in dfref, in varargin)
 Construct and return an object of class pm.vis.PlotContourf.
More...
 

Detailed Description

This is the PlotContourf class for generating instances of 2-dimensional Contourf Plot visualizations based on the relevant MATLAB intrinsic functions.

Note
See the documentation of the constructor of the class pm.vis.PlotContourf for example usage.
See the documentation of the attributes of the superclass pm.vis.Plot.
See also
pm.vis.Cascade
pm.vis.Subplot
pm.vis.Figure
pm.vis.Corner
pm.vis.Plot
pm.vis.Tile


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 21 2024, 6:05 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

Definition at line 29 of file PlotContourf.m.

Constructor & Destructor Documentation

◆ PlotContourf()

function PlotContourf::PlotContourf ( in  dfref,
in  varargin 
)

Construct and return an object of class pm.vis.PlotContourf.

This is the constructor of the class pm.vis.PlotContourf.

Parameters
[in]dfref: See the documentation of the corresponding input argument of the class pm.vis.Subplot.
[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.
Returns
self : The output object of class pm.vis.PlotContourf.


Possible calling interfaces

p = pm.vis.PlotContourf(dfref);
p = pm.vis.PlotContourf(dfref, varargin);
Note
The input varargin can also contain the components of the subplot component of the parent object.
See the documentation of the attributes of the superclass pm.vis.Plot.


Example usage

1cd(fileparts(mfilename('fullpath'))); % Change working directory to source code directory.
2addpath('../../../'); % Add the ParaMonte library root directory to the search path.
3
4theta = linspace(0, 8 * pi, 500);
5r = 1.5 * theta;
6df = array2table(ctranspose([r .* cos(theta); r .* sin(theta); r(end) - r]));
7df.Properties.VariableNames = ["X = r cos(theta)", "Y = r sin(theta)", "Z = r"];
8
9pv = pm.vis.PlotContourf(df);
10pv.subplot.title.titletext = "Contourf Plot";
11pv.make("colx", 1, "coly", 2, "xlim", [-20, 20], "ylim", [-20, 20]);
12pv.savefig("PlotContourf.1.png", "-m3");
13
14close all;
function root()
Return a scalar MATLAB string containing the root directory of the ParaMonte library package.

Visualization of the example output


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 21 2024, 9:50 AM, 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

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