method argument not working on slice()
@gilbertogalvis ci sta già lavorando.
Dal 16/10/2021.
- Lingua principale
- MATLAB
- Stelle
- 413
- Fork
- 166
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.