<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. 如何绘制正态分布图

      How to plot normal distribution(如何绘制正态分布图)
    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()
                

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

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                groupby multiple coords along a single dimension in xarray(在xarray中按单个维度的多个坐标分组)
                Group by and Sum in Pandas without losing columns(Pandas中的GROUP BY AND SUM不丢失列)
                Is there a way of group by month in Pandas starting at specific day number?( pandas 有从特定日期开始的按月分组的方式吗?)
                Group by + New Column + Grab value former row based on conditionals(GROUP BY+新列+基于条件的前一行抓取值)
                Groupby and interpolate in Pandas(PANDA中的Groupby算法和插值算法)
                Pandas - Group Rows based on a column and replace NaN with non-null values(PANAS-基于列对行进行分组,并将NaN替换为非空值)
                  • <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>
                        <tbody id='U1DGP'></tbody>
                      <tfoot id='U1DGP'></tfoot>
                    • <legend id='U1DGP'><style id='U1DGP'><dir id='U1DGP'><q id='U1DGP'></q></dir></style></legend>