Skip to content

slice() not working correctly #312

@xarico10

Description

@xarico10

When using slice() to draw slices for the volumetric data, an incorrect background color is placed and parts of the plot are missing.

[X,Y,Z] = meshgrid(-2:.2:2);
V = X.*exp(-X.^2-Y.^2-Z.^2);

xslice = [-1.2,0.8,2];   
yslice = [];
zslice = 0;
slice(X,Y,Z,V,xslice,yslice,zslice)

fig2plotly(gcf, 'offline', false);

Expected and generated (https://chart-studio.plotly.com/~xarico10/1041/#/) plot:
Captura de Pantalla 2021-08-05 a la(s) 4 19 09 p  m
Captura de Pantalla 2021-08-05 a la(s) 4 19 21 p  m

Also, there's not grid on Plotly's figure.

Examples on using slice() can be found on:
https://www.mathworks.com/help/matlab/ref/slice.html#responsive_offcanvas

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy