method argument not working on slice()
未关闭
@gilbertogalvis 已经在做这个了。
开始于 2021年10月16日。
- 主要语言
- MATLAB
- 星标
- 413
- 派生
- 166
- PR 合并指标
- 30 天内没有已合并 PR
描述
When specifying the interpolation method using the method input argument, where method can be 'linear' (the default), 'cubic', or 'nearest', such interpolation method isn't being applied.
[X,Y,Z] = meshgrid(-2:2);
V = X.*exp(-X.^2-Y.^2-Z.^2);
xslice = 0.8;
yslice = [];
zslice = [];
slice(X,Y,Z,V,xslice,yslice,zslice,'nearest')
fig2plotly(gcf, 'offline', false);
Expected and generated (https://chart-studio.plotly.com/~xarico10/1043/#/) plots:


Also, as seen, the expected plot is a 4x4 surface. That grid division isn't happening in Plotly.
Examples on using method can be found on:
https://www.mathworks.com/help/matlab/ref/slice.html#mw_e6993c56-f881-47e4-a291-fff253172919
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。