/docs/1.1/generated/cf.Domain.insert_axis.html
HTML | 212 lines | 168 code | 14 blank | 30 comment | 0 complexity | 48fa6b73e3e59013edaeeb7d2acdaafa MD5 | raw file
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
- <title>cf.Domain.insert_axis — Documentation</title>
-
- <link rel="stylesheet" href="../_static/default.css" type="text/css" />
- <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
-
- <script type="text/javascript">
- var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '../',
- VERSION: '1.1',
- COLLAPSE_INDEX: false,
- FILE_SUFFIX: '.html',
- HAS_SOURCE: true
- };
- </script>
- <script type="text/javascript" src="../_static/jquery.js"></script>
- <script type="text/javascript" src="../_static/underscore.js"></script>
- <script type="text/javascript" src="../_static/doctools.js"></script>
- <script type="text/javascript" src="../_static/copybutton.js"></script>
- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
- <link rel="top" title="Documentation" href="../index.html" />
- <link rel="up" title="cf.Domain" href="../classes/cf.Domain.html" />
- <link rel="next" title="cf.Domain.insert_coord" href="cf.Domain.insert_coord.html" />
- <link rel="prev" title="cf.Domain.insert_aux" href="cf.Domain.insert_aux.html" />
- </head>
- <body>
- <div class="related">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="../genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="cf.Domain.insert_coord.html" title="cf.Domain.insert_coord"
- accesskey="N">next</a> |</li>
- <li class="right" >
- <a href="cf.Domain.insert_aux.html" title="cf.Domain.insert_aux"
- accesskey="P">previous</a> |</li>
- <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python 1.1</a> »</li>
- <!--
- <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python</a> »</li>
- <li><select onchange="location = this.options[this.selectedIndex].value;">
- <option value="../../1.0/index.html">1.0
- <option value="../../0.9.9/index.html">0.9.9
- <option value="../../0.9.8.3/index.html">0.9.8.3
- <option value="../../archive.html">Archive
- </select>
- </li>
- -->
-
- <li><a href="../index.html">Documentation</a> »</li>
- <li><a href="../reference.html" >Reference manual</a> »</li>
- <li><a href="../class.html" >Classes of the <tt class="docutils literal"><span class="pre">cf</span></tt> module</a> »</li>
- <li><a href="../classes/cf.Domain.html" accesskey="U">cf.Domain</a> »</li>
- </ul>
- </div>
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body">
-
- <div class="section" id="cf-domain-insert-axis">
- <h1>cf.Domain.insert_axis<a class="headerlink" href="#cf-domain-insert-axis" title="Permalink to this headline">Âś</a></h1>
- <dl class="method">
- <dt id="cf.Domain.insert_axis">
- <tt class="descclassname">Domain.</tt><tt class="descname">insert_axis</tt><big>(</big><em>size</em>, <em>key=None</em>, <em>replace=True</em><big>)</big><a class="reference external" href="https://bitbucket.org/cfpython/cf-python/src/v1.1/cf/domain.py#cl-1500"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cf.Domain.insert_axis" title="Permalink to this definition">Âś</a></dt>
- <dd><p>Insert an axis into the domain in place.</p>
- <p>This method has exactly the same interface, functionality and outputs
- as <a class="reference internal" href="cf.Field.insert_axis.html#cf.Field.insert_axis" title="cf.Field.insert_axis"><tt class="xref py py-obj docutils literal"><span class="pre">cf.Field.insert_axis</span></tt></a>. Therefore see <a class="reference internal" href="cf.Field.insert_axis.html#cf.Field.insert_axis" title="cf.Field.insert_axis"><tt class="xref py py-obj docutils literal"><span class="pre">cf.Field.insert_axis</span></tt></a> for
- the full documentation details.</p>
- <div class="admonition seealso">
- <p class="first admonition-title">See also</p>
- <p class="last"><a class="reference internal" href="cf.Domain.insert_aux.html#cf.Domain.insert_aux" title="cf.Domain.insert_aux"><tt class="xref py py-obj docutils literal"><span class="pre">insert_aux</span></tt></a>, insert_measure`, insert_dim`, insert_ref`</p>
- </div>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Examples 1:</th><td class="field-body"></td>
- </tr>
- </tbody>
- </table>
- <div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">d</span><span class="o">.</span><span class="n">insert_axis</span><span class="p">(</span><span class="mi">24</span><span class="p">)</span>
- </pre></div>
- </div>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><dl class="first docutils">
- <dt>size <span class="classifier-delimiter">:</span> <span class="classifier">int</span></dt>
- <dd><p class="first last">The size of the new axis.</p>
- </dd>
- <dt>key <span class="classifier-delimiter">:</span> <span class="classifier">str, optional</span></dt>
- <dd><p class="first last">The domain identifier for the new axis. By default a new,
- unique identifier is generated.</p>
- </dd>
- <dt>replace <span class="classifier-delimiter">:</span> <span class="classifier">bool, optional</span></dt>
- <dd><p class="first last">If False then do not replace an existing axis with the same
- identifier but a different size. By default an existing axis
- with the same identifier is changed to have the new size.</p>
- </dd>
- </dl>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><dl class="first docutils">
- <dt>out :</dt>
- <dd><p class="first last">The domain identifier of the new axis.</p>
- </dd>
- </dl>
- </td>
- </tr>
- <tr class="field-odd field"><th class="field-name">Examples 2:</th><td class="field-body"></td>
- </tr>
- </tbody>
- </table>
- <p>See <a class="reference internal" href="cf.Field.insert_axis.html#cf.Field.insert_axis" title="cf.Field.insert_axis"><tt class="xref py py-obj docutils literal"><span class="pre">cf.Field.insert_axis</span></tt></a>.</p>
- </dd></dl>
- </div>
- </div>
- </div>
- </div>
- <div class="sphinxsidebar">
- <div class="sphinxsidebarwrapper">
- <h4>Previous topic</h4>
- <p class="topless"><a href="cf.Domain.insert_aux.html"
- title="previous chapter">cf.Domain.insert_aux</a></p>
- <h4>Next topic</h4>
- <p class="topless"><a href="cf.Domain.insert_coord.html"
- title="next chapter">cf.Domain.insert_coord</a></p>
- <h3>This Page</h3>
- <ul class="this-page-menu">
- <li><a href="../_sources/generated/cf.Domain.insert_axis.txt"
- rel="nofollow">Show Source</a></li>
- </ul>
- <div id="searchbox" style="display: none">
- <h3>Quick search</h3>
- <form class="search" action="../search.html" method="get">
- <input type="text" name="q" />
- <input type="submit" value="Go" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- <p class="searchtip" style="font-size: 90%">
- Enter search terms or a module, class or function name.
- </p>
- </div>
- <script type="text/javascript">$('#searchbox').show(0);</script>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- <div class="related">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="../genindex.html" title="General Index"
- >index</a></li>
- <li class="right" >
- <a href="cf.Domain.insert_coord.html" title="cf.Domain.insert_coord"
- >next</a> |</li>
- <li class="right" >
- <a href="cf.Domain.insert_aux.html" title="cf.Domain.insert_aux"
- >previous</a> |</li>
- <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python 1.1</a> »</li>
- <!--
- <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python</a> »</li>
- <li><select onchange="location = this.options[this.selectedIndex].value;">
- <option value="../../1.0/index.html">1.0
- <option value="../../0.9.9/index.html">0.9.9
- <option value="../../0.9.8.3/index.html">0.9.8.3
- <option value="../../archive.html">Archive
- </select>
- </li>
- -->
-
- <li><a href="../index.html">Documentation</a> »</li>
- <li><a href="../reference.html" >Reference manual</a> »</li>
- <li><a href="../class.html" >Classes of the <tt class="docutils literal"><span class="pre">cf</span></tt> module</a> »</li>
- <li><a href="../classes/cf.Domain.html" >cf.Domain</a> »</li>
- </ul>
- </div>
- <div class="footer">
- © Copyright 2015, David Hassell.
- Last updated on Oct 28, 2015.
- Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.2.
- </div>
- </body>
- </html>