194 lines
7.1 KiB
HTML
194 lines
7.1 KiB
HTML
|
||
<!DOCTYPE html>
|
||
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<title>pylib.geometry_plot_pylab module — pylib 2019.12.21 documentation</title>
|
||
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
|
||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
||
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></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/language_data.js"></script>
|
||
<script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
||
<link rel="index" title="Index" href="genindex.html" />
|
||
<link rel="search" title="Search" href="search.html" />
|
||
<link rel="next" title="pylib.mathematics module" href="pylib.mathematics.html" />
|
||
<link rel="prev" title="pylib.geometry_plot module" href="pylib.geometry_plot.html" />
|
||
|
||
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
||
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
||
|
||
</head><body>
|
||
|
||
|
||
<div class="document">
|
||
<div class="documentwrapper">
|
||
<div class="bodywrapper">
|
||
|
||
|
||
<div class="body" role="main">
|
||
|
||
<div class="section" id="module-pylib.geometry_plot_pylab">
|
||
<span id="pylib-geometry-plot-pylab-module"></span><h1>pylib.geometry_plot_pylab module<a class="headerlink" href="#module-pylib.geometry_plot_pylab" title="Permalink to this headline">¶</a></h1>
|
||
<p>Geometry plotter using pylab (matplotlib).</p>
|
||
<dl class="field-list simple">
|
||
<dt class="field-odd">Date</dt>
|
||
<dd class="field-odd"><p>2019-12-23</p>
|
||
</dd>
|
||
</dl>
|
||
<span class="target" id="module-geometry_plot_pylab"></span><dl class="function">
|
||
<dt id="pylib.geometry_plot_pylab.cad_wireframe">
|
||
<code class="sig-name descname">cad_wireframe</code><span class="sig-paren">(</span><em class="sig-param">world</em>, <em class="sig-param">centering=True</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pylib/geometry_plot_pylab.html#cad_wireframe"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pylib.geometry_plot_pylab.cad_wireframe" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Graphical projections</p>
|
||
<ul class="simple">
|
||
<li><p>Parallel projections</p>
|
||
<ul>
|
||
<li><p>Orthographic</p>
|
||
<ul>
|
||
<li><p>Multiview</p>
|
||
<ul>
|
||
<li><p>* First-angle</p></li>
|
||
<li><p>Third-angle</p></li>
|
||
<li><p>Plan Elevation</p></li>
|
||
</ul>
|
||
</li>
|
||
<li><p>Axonometric</p>
|
||
<ul>
|
||
<li><p>* Isometric</p></li>
|
||
<li><p>Dimetric</p></li>
|
||
<li><p>Trimetri</p></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li><p>Oblique</p>
|
||
<ul>
|
||
<li><p>Carbinet</p></li>
|
||
<li><p>Cavalier</p></li>
|
||
<li><p>Military</p></li>
|
||
<li><p>Top-down</p></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li><p>Perspective projections</p>
|
||
<ul>
|
||
<li><p>1-point</p></li>
|
||
<li><p>2-point</p></li>
|
||
<li><p>3-point</p></li>
|
||
<li><p>Curvilinear</p></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</dd></dl>
|
||
|
||
<dl class="function">
|
||
<dt id="pylib.geometry_plot_pylab.plot_post">
|
||
<code class="sig-name descname">plot_post</code><span class="sig-paren">(</span><em class="sig-param">ax</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pylib/geometry_plot_pylab.html#plot_post"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pylib.geometry_plot_pylab.plot_post" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="function">
|
||
<dt id="pylib.geometry_plot_pylab.set_aspect_equal">
|
||
<code class="sig-name descname">set_aspect_equal</code><span class="sig-paren">(</span><em class="sig-param">ax</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pylib/geometry_plot_pylab.html#set_aspect_equal"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pylib.geometry_plot_pylab.set_aspect_equal" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Make axes of 3D plot have equal scale so that spheres appear as
|
||
spheres, cubes as cubes, etc.. This is one possible solution to
|
||
Matplotlib’s ax.set_aspect(‘equal’) and ax.axis(‘equal’) not
|
||
working for 3D.</p>
|
||
<dl class="field-list simple">
|
||
<dt class="field-odd">Parameters</dt>
|
||
<dd class="field-odd"><p><strong>ax</strong> (<em>pylab.Axes</em>) – a pylab axis</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Source: <a class="reference external" href="https://stackoverflow.com/a/35126679">https://stackoverflow.com/a/35126679</a></p>
|
||
</dd></dl>
|
||
|
||
<dl class="function">
|
||
<dt id="pylib.geometry_plot_pylab.wireframe3d">
|
||
<code class="sig-name descname">wireframe3d</code><span class="sig-paren">(</span><em class="sig-param">world</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pylib/geometry_plot_pylab.html#wireframe3d"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pylib.geometry_plot_pylab.wireframe3d" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||
<div class="sphinxsidebarwrapper">
|
||
<h1 class="logo"><a href="index.html">pylib</a></h1>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<h3>Navigation</h3>
|
||
<p class="caption"><span class="caption-text">Contents:</span></p>
|
||
<ul class="current">
|
||
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">pylib</a><ul class="current">
|
||
<li class="toctree-l2 current"><a class="reference internal" href="pylib.html">pylib package</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
|
||
<div class="relations">
|
||
<h3>Related Topics</h3>
|
||
<ul>
|
||
<li><a href="index.html">Documentation overview</a><ul>
|
||
<li><a href="modules.html">pylib</a><ul>
|
||
<li><a href="pylib.html">pylib package</a><ul>
|
||
<li>Previous: <a href="pylib.geometry_plot.html" title="previous chapter">pylib.geometry_plot module</a></li>
|
||
<li>Next: <a href="pylib.mathematics.html" title="next chapter">pylib.mathematics module</a></li>
|
||
</ul></li>
|
||
</ul></li>
|
||
</ul></li>
|
||
</ul>
|
||
</div>
|
||
<div id="searchbox" style="display: none" role="search">
|
||
<h3 id="searchlabel">Quick search</h3>
|
||
<div class="searchformwrapper">
|
||
<form class="search" action="search.html" method="get">
|
||
<input type="text" name="q" aria-labelledby="searchlabel" />
|
||
<input type="submit" value="Go" />
|
||
</form>
|
||
</div>
|
||
</div>
|
||
<script type="text/javascript">$('#searchbox').show(0);</script>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
<div class="clearer"></div>
|
||
</div>
|
||
<div class="footer">
|
||
©2019, Daniel Weschke.
|
||
|
||
|
|
||
Powered by <a href="http://sphinx-doc.org/">Sphinx 2.2.1</a>
|
||
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
||
|
||
|
|
||
<a href="_sources/pylib.geometry_plot_pylab.rst.txt"
|
||
rel="nofollow">Page source</a>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
</body>
|
||
</html> |