在绘图中添加线条以显示变化
我使用脚本创建了以下图:
merged_data.plot(x = "Ratio_IP1_Average_1", y = "Ratio_IP1_Average_2", kind = "scatter", color = "#830051") plt.text(44.8, 45.6, “+ DMSO”,水平对齐='左',尺寸='中', color='#68D2DF', Weight='semibold')
我现在想要添加水平线和垂直线,以显示控制值周围的方差,以便突出显示任何异常值。这些值位于数据框中,但我需要调用特定的单元格,最好使用列名称。我该怎么做?
I have created the following plot using the script:
merged_data.plot(x = "Ratio_IP1_Average_1", y = "Ratio_IP1_Average_2", kind = "scatter", color = "#830051") plt.text(44.8, 45.6, "+ DMSO", horizontalalignment='left', size='medium', color='#68D2DF', weight='semibold')
I now want to add horizontal and vertical lines which show the variance around my control value, so any outliers can be highlighted. These values are within the data frame, but I am required to call a specific cell, ideally using the column name. How would I do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论