plotly / plotly/plotly_matlab

tiledlayout() not working: Not plotting multiple plots separately on same figure using plot3()

Đang mở
#165 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@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 used:

tiledlayout(1,2)

% Left plot
ax1 = nexttile;
t = 0:pi/20:10*pi;
xt1 = sin(t);
yt1 = cos(t);
plot3(ax1,xt1,yt1,t)
title(ax1,'Helix With 5 Turns')

% Right plot
ax2 = nexttile;
t = 0:pi/20:10*pi;
xt2 = sin(2*t);
yt2 = cos(2*t);
plot3(ax2,xt2,yt2,t, 'Color','red')
title(ax2,'Helix With 10 Turns')

fig2plotly();

Expected and obtained (https://chart-studio.plotly.com/~xarico10/164/helix-with-5-turns/#/) plots:

Captura de Pantalla 2021-07-24 a la(s) 7 13 18 p  m Captura de Pantalla 2021-07-24 a la(s) 7 13 29 p  m

An example on how to do this can be found in:
'Specify Target Axes'
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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.