matlab - 如何在matlab中单独为误差线着色?
问题描述
我想在 Matlab 中单独为误差线着色,但似乎无法弄清楚。Luis Mendo 在 2015 年的类似帖子和回答推荐了下面的代码,但这种方法已经过时并且不起作用,因为错误栏的子对象现在是 0x0 占位符。
h = errorbar(x,y,e) %// a color spec here would affect both data and error bars
hc = get(h, 'Children')
set(hc(1),'color','b') %// data
set(hc(2),'color','g') %// error bars
解决方案
推荐阅读
- javascript - 如何使用钩子在 REACTJS 中的不同 url 中从一个组件获取状态?
- ios - Swift & Push Notification : application(_:didReceiveRemoteNotification:fetchCompletionHandler:) 没有被调用
- api - 使用 Reolink RLC-820A api 抓图
- mysql - Kubernetes Dump mysql 并恢复 Mysql
- jsf - PrimeFaces 10 移除方法 RadioButtonGroup.getSelectItems() 替换
- npm - 如何使用“yarn”或“npm”列出特定类型的依赖项
- azure - 在雪花中添加具有默认值的列,但在 ADF 中复制数据活动(从具有所需列的文本文件复制)失败
- regex - Jmeter 通过数据源将正则表达式传递给正则表达式提取
- javascript - src\components\Home.js Line 6:10: 'Container' is not defined react/jsx-no-undef
- gitlab - 如何为推送运行单个作业并为日程安排运行“矩阵”作业?