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

Datetime/duration format not supported #162

Open
xarico10 opened this issue Jul 24, 2021 · 3 comments
Open

Datetime/duration format not supported #162

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

Comments

@xarico10
Copy link
Contributor

When one or both data vectors are Datatime or Duration objects, an error is produced.

No figure is generated, the error is:
Captura de Pantalla 2021-07-24 a la(s) 1 08 41 a  m

In this case the code used was:

t = 0:seconds(30):minutes(3);
y = 1:7;

plot(t,y,'DurationTickFormat','mm:ss')
fig2plotly()

An example of plotting a Duration object using MATLAB is found on:
'Plot Durations and Specify Tick Format':
https://www.mathworks.com/help/matlab/ref/plot.html

@xarico10 xarico10 changed the title Datetime/duration format not supported Datetime/duration format not supported using plot() Jul 25, 2021
@xarico10 xarico10 changed the title Datetime/duration format not supported using plot() Datetime/duration format not supported Jul 25, 2021
@benaliabderrahmane benaliabderrahmane self-assigned this Jul 30, 2021
@xarico10 xarico10 added the ⭐⭐⭐ multiplier Issues that could close multiple related issues at once label Aug 2, 2021
@benaliabderrahmane benaliabderrahmane linked a pull request Aug 2, 2021 that will close this issue
@benaliabderrahmane
Copy link
Contributor

issue was solved

@harshpurwar
Copy link
Contributor

@benaliabderrahmane
Sorry but this still doesn't work for me using the current Master. Could you check if it still works for you?

@harshpurwar harshpurwar reopened this Aug 8, 2021
@harshpurwar
Copy link
Contributor

Oh, I get it, the PR was never merged to the master. I guess you are still working on this? Let me know if I can be of help!

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

Successfully merging a pull request may close this issue.

3 participants