Skip to content

LineSpec input argument not working correctly when using 2-D plots #187

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

Closed
xarico10 opened this issue Jul 26, 2021 · 0 comments
Closed

LineSpec input argument not working correctly when using 2-D plots #187

xarico10 opened this issue Jul 26, 2021 · 0 comments
Assignees

Comments

@xarico10
Copy link
Contributor

xarico10 commented Jul 26, 2021

The input LineSpec isn't changing marker's color nor line style.

X = linspace(0,4*pi,20);
Y = sin(X);

figure
stairs(Y,'--hg')

fig2plotly();

The previous code should produce green hexagrams with a dashed line, however, it plots them with the default blue color and a solid line:

Expected and generated (https://chart-studio.plotly.com/~xarico10/419/#/) plots:
Captura de Pantalla 2021-07-26 a la(s) 11 54 54 a  m

Captura de Pantalla 2021-07-26 a la(s) 11 54 29 a  m

Examples on using the LineSpec input argument can be found on:
https://www.mathworks.com/help/matlab/ref/linespec.html

@xarico10 xarico10 changed the title LineSpec input argument not working correctly when using spy() LineSpec input argument not working correctly when using 2-D plots Jul 26, 2021
@gilbertogalvis gilbertogalvis self-assigned this Jul 28, 2021
gilbertogalvis pushed a commit that referenced this issue Jul 29, 2021
gilbertogalvis added a commit that referenced this issue Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants