Plotting several variables using stackedplot() not supported
未关闭
@gilbertogalvis 已经在做这个了。
开始于 2021年8月14日。
- 主要语言
- MATLAB
- 星标
- 413
- 派生
- 166
- PR 合并指标
- 30 天内没有已合并 PR
描述
An error is being printed when using any variation of stackedplot().
Doesn't work with table, timetable nor array objects
Using a table, for instance:
tbl = readtable('patients.xls');
stackedplot(tbl,{'Height','Weight','Systolic','Diastolic'})
fig2plotly();
The expected plot would be:

Using common arrays:
rng(1)
X = 0:4:20;
Y = randi(100,6,3);
stackedplot(X,Y)
fig2plotly();
The expected plot would be:

However, in both cases the following error is printed:
Error using response_handler (line 31)
Expecting (x, y) pairs
Error in makecall (line 32)
response_handler(resp);
Error in plotly (line 28)
response = makecall(args, origin, structargs);
Error in plotlyfig/plotly (line 437)
response = plotly(obj.data,
args);
Error in fig2plotly (line 49)
p.plotly;
Error in stackedplot_6 (line 24)
fig2plotly();
Examples on how to use stackedplot() can be found on:
https://www.mathworks.com/help/matlab/ref/stackedplot.html#responsive_offcanvas
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。