小编Ste*_* Xu的帖子

如何更改海底散点图中的专色边缘颜色?

我使用seaborn创建了一个散点图:

import seaborn as sns
sns.set(style="ticks", color_codes=True)

g=sns.scatterplot(x="length", y="coverage", data=df, hue = 'Products', edgecolors=None, alpha = 0.7)
g.set(yscale="log")
plt.xlabel("Length(bp)")
plt.ylabel("Coverage")
plt.legend(loc = 'lower right')
plt.savefig('ATN_plot.png',dpi = 600)
Run Code Online (Sandbox Code Playgroud)

原始数据(部分):

contig  length  coverage    pathway Products
53  1230    2423    stigmatellin    Yes
58  1195    885 curacin Yes
65  1161    598 jamaicamide Yes
68  1159    8001    jamaicamide Yes
79  1113    1423    curacin Yes
105 1042    1106    stigmatellin    Yes
727 666 223 HSAF (heat stable antifungal factor)    Yes
787 655 37  curacin Yes
791 654 13 …
Run Code Online (Sandbox Code Playgroud)

python scatter-plot seaborn

12
推荐指数
3
解决办法
3286
查看次数

如何使用python分隔两条高斯曲线?

我测量了数千个粒子的荧光强度,并绘制了直方图,该直方图显示了两条相邻的高斯曲线。如何使用python或其软件包将它们分成两条高斯曲线并绘制两个新图?在此处输入图片说明

谢谢。

python plot gaussian

3
推荐指数
1
解决办法
933
查看次数

标签 统计

python ×2

gaussian ×1

plot ×1

scatter-plot ×1

seaborn ×1