Datetime/duration format not supported using plot3()
Aberta
@gilbertogalvis já está trabalhando nisso.
Desde 16/10/2021.
- Linguagem predominante
- MATLAB
- Estrelas
- 413
- Forks
- 166
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Code:
x = rand(1,10);
y = rand(1,10);
z = duration(rand(10,1),randi(60,10,1),randi(60,10,1));
plot3(x,y,z,'o','DurationTickFormat','mm:ss')
xlabel('X')
ylabel('Y')
zlabel('Duration')
grid on
fig2plotly();
The following message is printed:
Invalid data type. First argument must be numeric or logical.
We had trouble parsing the line object.
This trace might not render properly.
Expected and generated (https://chart-studio.plotly.com/~xarico10/166/#/) plots:


An example on using Duration objects can be found on:
'Plot Duration Data with Custom Tick Format'
https://www.mathworks.com/help/matlab/ref/plot3.html
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Avaliação
Esta issue ainda não foi avaliada.