You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
<divid="unreleased-message"> You are reading an old version of the documentation (v1.4.0). For the latest version see <ahref="https://matplotlib.org/stable/api/pyplot_summary.html">https://matplotlib.org/stable/api/pyplot_summary.html</a></div>
<h1>Plotting commands summary<aclass="headerlink" href="#plotting-commands-summary" title="Permalink to this headline">¶</a></h1>
<dlclass="function">
<dtid="matplotlib.pyplot.plotting">
<ttclass="descclassname">matplotlib.pyplot.</tt><ttclass="descname">plotting</tt><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.pyplot.plotting" title="Permalink to this definition">¶</a></dt>
<td>Return the current <aclass="reference internal" href="axes_api.html#matplotlib.axes.Axes" title="matplotlib.axes.Axes"><ttclass="xref py py-class docutils literal"><spanclass="pre">Axes</span></tt></a> instance on the current figure matching the given keyword args, or create one.</td>
<td>Change the <aclass="reference internal" href="ticker_api.html#matplotlib.ticker.ScalarFormatter" title="matplotlib.ticker.ScalarFormatter"><ttclass="xref py py-obj docutils literal"><spanclass="pre">ScalarFormatter</span></tt></a> used by default for linear axes.</td>
<td>Get or set the <em>y</em>-limits of the current tick locations and labels.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="function">
<dtid="matplotlib.pyplot.colormaps">
<ttclass="descclassname">matplotlib.pyplot.</tt><ttclass="descname">colormaps</tt><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.pyplot.colormaps" title="Permalink to this definition">¶</a></dt>
<dd><p>Matplotlib provides a number of colormaps, and others can be added using
<aclass="reference internal" href="cm_api.html#matplotlib.cm.register_cmap" title="matplotlib.cm.register_cmap"><ttclass="xref py py-func docutils literal"><spanclass="pre">register_cmap()</span></tt></a>. This function documents the built-in
colormaps, and will also return a list of all registered colormaps if called.</p>
<p>You can set the colormap for an image, pcolor, scatter, etc,
Research <aclass="footnote-reference" href="#id7" id="id2">[2]</a></td>
</tr>
<trclass="row-odd"><td>gist_rainbow</td>
<td>runs through the colors in spectral order from red to
violet at full saturation (like <em>hsv</em> but not cyclic)</td>
</tr>
<trclass="row-even"><td>gist_stern</td>
<td>“Stern special” color table from Interactive Data
Language software</td>
</tr>
</tbody>
</table>
</div></blockquote>
<p>The following colormaps are based on the <aclass="reference external" href="http://colorbrewer.org">ColorBrewer</a> color specifications and designs developed by
Cynthia Brewer:</p>
<p>ColorBrewer Diverging (luminance is highest at the midpoint, and
decreases towards differently-colored endpoints):</p>
<tr><tdclass="label"><aclass="fn-backref" href="#id1">[1]</a></td><td>Rainbow colormaps, <ttclass="docutils literal"><spanclass="pre">jet</span></tt> in particular, are considered a poor
choice for scientific visualization by many researchers: <aclass="reference external" href="http://www.jwave.vt.edu/%7Erkriz/Projects/create_color_table/color_07.pdf">Rainbow Color
<tr><tdclass="label"><aclass="fn-backref" href="#id3">[3]</a></td><td>See <aclass="reference external" href="http://www.cs.unm.edu/~kmorel/documents/ColorMaps/">Diverging Color Maps for Scientific Visualization</a> by Kenneth
<tr><tdclass="label"><aclass="fn-backref" href="#id4">[4]</a></td><td>See <aclass="reference external" href="http://www.mathworks.com/matlabcentral/fileexchange/2662-cmrmap-m">A Color Map for Effective Black-and-White Rendering of