专栏
标签
如何解决报错“ERROR: BoundsError: attempt to access Tuple{} at index [1]”?
技术分享
发布于 2025-07-10 10:53:41
查看 1过去327天

问题现象

运行代码 x=1;y=1;bar(x,y) ,提示报错 ERROR: BoundsError: attempt to access Tuple{} at index [1] ,如何解决?
image.png

解决方法

修改为 x=[1];y=[1];bar(x,y),即可正常绘图。
image.png

所属专栏:Syslab基础平台
产品信息:Syslab科学计算环境
科学计算

全部回答

暂无数据
暂无数据
用户
和原帖交流更多问题细节吧,去
我要发帖 我要发帖
资料中心 资料中心
查看更多>
热门帖子 热门帖子
主要贡献者 主要贡献者
过去7天