<small id='sXoe4'></small><noframes id='sXoe4'>

        <bdo id='sXoe4'></bdo><ul id='sXoe4'></ul>
    1. <legend id='sXoe4'><style id='sXoe4'><dir id='sXoe4'><q id='sXoe4'></q></dir></style></legend>

      <tfoot id='sXoe4'></tfoot>
      <i id='sXoe4'><tr id='sXoe4'><dt id='sXoe4'><q id='sXoe4'><span id='sXoe4'><b id='sXoe4'><form id='sXoe4'><ins id='sXoe4'></ins><ul id='sXoe4'></ul><sub id='sXoe4'></sub></form><legend id='sXoe4'></legend><bdo id='sXoe4'><pre id='sXoe4'><center id='sXoe4'></center></pre></bdo></b><th id='sXoe4'></th></span></q></dt></tr></i><div id='sXoe4'><tfoot id='sXoe4'></tfoot><dl id='sXoe4'><fieldset id='sXoe4'></fieldset></dl></div>

    2. 如何绘制正态分布图

      时间:2024-04-20
    3. <small id='Np0N5'></small><noframes id='Np0N5'>

        <tfoot id='Np0N5'></tfoot>

                <tbody id='Np0N5'></tbody>
              <legend id='Np0N5'><style id='Np0N5'><dir id='Np0N5'><q id='Np0N5'></q></dir></style></legend>

              <i id='Np0N5'><tr id='Np0N5'><dt id='Np0N5'><q id='Np0N5'><span id='Np0N5'><b id='Np0N5'><form id='Np0N5'><ins id='Np0N5'></ins><ul id='Np0N5'></ul><sub id='Np0N5'></sub></form><legend id='Np0N5'></legend><bdo id='Np0N5'><pre id='Np0N5'><center id='Np0N5'></center></pre></bdo></b><th id='Np0N5'></th></span></q></dt></tr></i><div id='Np0N5'><tfoot id='Np0N5'></tfoot><dl id='Np0N5'><fieldset id='Np0N5'></fieldset></dl></div>
              • <bdo id='Np0N5'></bdo><ul id='Np0N5'></ul>
                本文介绍了如何绘制正态分布图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                给定均值和方差,是否有简单的函数调用将绘制正态分布?

                推荐答案

                import matplotlib.pyplot as plt
                import numpy as np
                import scipy.stats as stats
                import math
                
                mu = 0
                variance = 1
                sigma = math.sqrt(variance)
                x = np.linspace(mu - 3*sigma, mu + 3*sigma, 100)
                plt.plot(x, stats.norm.pdf(x, mu, sigma))
                plt.show()
                

                这篇关于如何绘制正态分布图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:PYPlot子图的公用轴标签 下一篇:Python中一个图形中的多个绘图

                相关文章

                • <bdo id='U1DGP'></bdo><ul id='U1DGP'></ul>
              • <small id='U1DGP'></small><noframes id='U1DGP'>

                <i id='U1DGP'><tr id='U1DGP'><dt id='U1DGP'><q id='U1DGP'><span id='U1DGP'><b id='U1DGP'><form id='U1DGP'><ins id='U1DGP'></ins><ul id='U1DGP'></ul><sub id='U1DGP'></sub></form><legend id='U1DGP'></legend><bdo id='U1DGP'><pre id='U1DGP'><center id='U1DGP'></center></pre></bdo></b><th id='U1DGP'></th></span></q></dt></tr></i><div id='U1DGP'><tfoot id='U1DGP'></tfoot><dl id='U1DGP'><fieldset id='U1DGP'></fieldset></dl></div>
                <tfoot id='U1DGP'></tfoot>
              • <legend id='U1DGP'><style id='U1DGP'><dir id='U1DGP'><q id='U1DGP'></q></dir></style></legend>