# doc-cache created by Octave 9.2.0
# name: cache
# type: cell
# rows: 3
# columns: 7
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
drawPolar


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 717
    Adds a polar grid to the specified axis.
    Input parameters:
        Axes  -- the handle of the specified axis;
        R     -- a series of scale values on the specified axis;
        Rc    -- Inner radius of polar grid, default: 0;
        color -- The color of the grid, default: [0.82 0.82 0.82];
        linewidth -- Width of grid lines, default: 1.2;
        font  -- Font settings in Grid, font is a structure data, 
                including:
                         font.fontname, default: 'Times New Roman';
                         font.fontweight, default: 'normal';
                         font.fontangle, default: 'normal';
                         font.fontsize, default: 14;
   



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 44
    Adds a polar grid to the specified axis.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 11
getColorMap


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 51
 Source：https://github.com/tricialyjun/pridemap



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 51
 Source：https://github.com/tricialyjun/pridemap




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
head2Tail


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 3
 



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 3
 




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 13
mapProjection


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 38
 lat   [pi/2,-pi/2]
 long  [-pi,pi]



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 38
 lat   [pi/2,-pi/2]
 long  [-pi,pi]




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 11
selectcolor


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2066
% SELECTCOLOR Open a modal dialog box to create a color specification

    Syntax
    ------
    c = selectcolor
    c = selectcolor([r g b])
    c = selectcolor(..., 'dialogTitle')
    c = selectcolor(..., hCaller)
    c = selectcolor(..., 'k')
    
    Description
    -----------
    c = selectcolor creates a modal color selection dialog and returns the selected color. The dialog box output is initialized to white.
    
    c = selectcolor([r g b]) displays a dialog box with the color specified by [r g b] as the initial selection. The values of r, g, and b must be values in the range [0, 1].

    c = selectcolor(..., 'dialogTitle') creates the dialog box with the specified title.

    c = selectcolor(..., hCaller) displays a dialog box centered over the figure idendified by the handle hCaller. This is useful for
    when you want to call selectcolor from another GUI and have selectcolor appear in an obvious location.

    c = selectcolor(..., 'k') overrides the default system color scheme and displays a dialog box with a black figure backgroundcolor. The
    default color scheme can also be overridden to use a white backgroundcolor for the dialog figure. Acceptable override strings are 'black', 'k', 'white' or 'w'.

    Note that the color channel sliders and edit boxes display choices in the range [0, 255], but will ouput colors as a valid MATLAB RGB triplet with values in the range [0, 1];
    
    Like uisetcolor, if the user presses cancel or closes the dialog box, the output value is set to the input RGB triplet, if provided, or it is set to 0.
    
    2014, P. Beemiller. Licensed under a Creative Commmons Attribution
    license. Please see: http://creativecommons.org/licenses/by/3.0/

    Modified by: Zheng Ran
    1. Remove all functions related to java
    2. Fix some bugs so that the program can run in GNU Octave
    3. Delete some irrelevant information
    4. Set the default output color to black [0 0 0]
    5. Fix the error caused by turning off figure

    Date: 2022/09/05




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
% SELECTCOLOR Open a modal dialog box to create a color specification

    ...



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 19
spherical2Cartesian


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 335
        Converts from Spherical (r,θ,φ) to Cartesian (x,y,z) coordinates in 3-dimensions.
        
        Input:
              ntheta - mesh number of theta(θ)
              nphi   - mesh number of phi(φ)
              R      - spherical coordinate distance
        output:
              XZY    - 3D Cartesian coordinates



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
        Converts from Spherical (r,θ,φ) to Cartesian (x,y,z) coordinates in...



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 13
velasColormap


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 3908
        inputs:
               cmapname, the name of colormap, 'viridis' (default).
               flipflag, determine whether to flip the colormap, flipflag = false.
        outputs:
               cmap: the corresponding colormap.

        cmapname: cmapname must be char! Can be: 'viridis' (default) 'inferno'	'plasma'	'magma'	'rocket'	'mako'	'flare'	'crest'	'vlag'	'icefire'	'Spectral'	'coolwarm'	'cool'	'summer'	'copper'
                                                 'hot'	'ocean'	'gray'	'bone'	'pink'	'spring'	'autumn'	'winter'	'thermal'	'haline'	'solar'	'ice'	'deep'	'dense'	'algae'	'matter'	'turbid'
	                                               'speed'	'amp'	'tempo'	'rain'	'phase'	'balance'	'delta'	'curl'	'diff'	'tarn'	'cubehelix'	'turbo'	'Blues'	'BuGn'	'BuPu'	'GnBu'	'Greens'	'Greys'
                                                 'Oranges'	'OrRd'	'PuBu'	'PuBuGn'	'PuRd'	'Purples'	'RdPu'	'Reds'	'YlGn'	'YlGnBu'	'YlOrBr'	'YlOrRd'	'afmhot'	'gistheat'	'BrBG'	'bwr'
                                                 'coolwarmC'	'PiYG'	'PRGn' 'PuOr'	'RdBu'	'RdGy'	'RdYlBu'	'RdYlGn'	'seismic'.

        (Note: If you enter an option other than the one above, it will return to the default "jet".)
        The colormap data export from GUN Octave.

        if you use this data your work, please cite GNU Octave in publications use:

        John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2022).
        GNU Octave version 7.1.0 manual: a high-level interactive language for numerical computations.
        URL https://www.gnu.org/software/octave/doc/v7.1.0/

        A BibTeX entry for LaTeX users is:

        @manual{,
         title     = {{GNU Octave} version 7.1.0 manual: a high-level interactive language for numerical computations},
         author    = {John W. Eaton and David Bateman and S{\o}ren Hauberg and Rik Wehbring},
         year      = {2022},
         url       = {https://www.gnu.org/software/octave/doc/v7.1.0/},
       }

       Default Colormap: % 'viridis' (default)

       [1] The color maps viridis, magma, inferno, and plasma were created by Stéfan van der Walt ([@stefanv](https://github.com/stefanv))
       and Nathaniel Smith ([@njsmith](https://github.com/njsmith)).

       [2] Please cite the following paper if you use "cubehelix" in any publications:
       Green, D. A., 2011,  A colour scheme for the display of astronomical intensity images , Bulletin of the Astronomical Society of India, 39, 289.

       [3] A collection of colormaps from https://matplotlib.org/cmocean/
       cmocean: 'thermal'  'haline'  'solar'  'ice'  'deep'  'dense'  'algae'  'matter'  'turbid'  'speed'  'amp'  'tempo'  'rain'  'phase'  'balance'  'delta'  'curl'  'diff'  'tarn'
       Please cite the following paper if you use "cmocean" colormap sets in any publications:
        Thyng, K. M., Greene, C. A., Hetland, R. D., Zimmerle, H. M., & DiMarco, S. F. (2016). True colors of oceanography. Oceanography, 29(3), 10.

       [4] A collection of colormaps from https://seaborn.pydata.org/
       seaborn: ["rocket", "mako", "flare", "crest", "vlag", "icefire", "Spectral", "coolwarm"]
       Please cite the following paper if you use 'seaborn' colormap sets in any publications:
       Waskom, M. L., (2021). seaborn: statistical data visualization. Journal of Open Source Software, 6(60), 3021, https://doi.org/10.21105/joss.03021

       [5] A collection of colormaps from https://www.fabiocrameri.ch/colourmaps/
       Scientific colourmaps:
       Please cite the following paper if you use 'Scientific colourmaps' sets in any publications:
       Crameri, F. (2018). Scientific colour-maps. Zenodo. http://doi.org/10.5281/zenodo.1243862
       Crameri, F. (2018), Geodynamic diagnostics, scientific visualisation and StagLab 3.0, Geosci. Model Dev., 11, 2541-2562, doi:10.5194/gmd-11-2541-2018.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
        inputs:
               cmapname, the name of colormap, 'viridis' (de...





