Datetime/duration format not supported using plot3()
Đang mở
@gilbertogalvis đang làm issue này rồi.
Từ ngày 16/10/2021.
- Ngôn ngữ chính
- MATLAB
- Star
- 413
- Fork
- 166
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.