Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Name-Value argument is working on surface plots #262

Closed
xarico10 opened this issue Aug 2, 2021 · 2 comments
Closed

No Name-Value argument is working on surface plots #262

xarico10 opened this issue Aug 2, 2021 · 2 comments
Assignees
Labels
⭐⭐⭐ multiplier Issues that could close multiple related issues at once

Comments

@xarico10
Copy link
Contributor

xarico10 commented Aug 2, 2021

No Name-Value argument is working on surface plots.

[X,Y] = meshgrid(1:0.5:10,1:20);
Z = sin(X) + cos(Y);
C = X.*Y;
surf(X,Y,Z,C,'FaceColor','blue','EdgeColor','red','LineStyle','--')

fig2plotly(gcf, 'offline', false);

For example, the previous code should plot a blue surface with dashed red edges, however, none of that is happening.

Expected and generated (https://chart-studio.plotly.com/~xarico10/775/#/) plots:

Captura de Pantalla 2021-08-02 a la(s) 11 06 41 a  m

Captura de Pantalla 2021-08-02 a la(s) 11 06 54 a  m

Examples on using Name-Value arguments on surface plots can be found on:
https://www.mathworks.com/help/matlab/ref/surf.html#bvgs7wv-1

@VolKa79
Copy link

VolKa79 commented Aug 2, 2021

Noticed that looks like this issue is for all 3D plots, not only for surf(), (tested with histogram2(), scatter3() )

@xarico10 xarico10 added the ⭐⭐⭐ multiplier Issues that could close multiple related issues at once label Aug 2, 2021
@VolKa79 VolKa79 self-assigned this Aug 2, 2021
@jackparmer jackparmer assigned gilbertogalvis and unassigned VolKa79 Sep 8, 2021
@gilbertogalvis
Copy link
Contributor

This issues was fixed by PR #375. Results are shown bellow

Screen Shot 2021-09-10 at 11 28 31 PM

Screen Shot 2021-09-10 at 11 29 30 PM

Screen Shot 2021-09-10 at 11 30 14 PM

Screen Shot 2021-09-10 at 11 32 43 PM

Screen Shot 2021-09-10 at 11 33 41 PM

Screen Shot 2021-09-10 at 11 27 58 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐⭐⭐ multiplier Issues that could close multiple related issues at once
Projects
None yet
Development

No branches or pull requests

3 participants