docs - coneplot problems
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- matlab
- Bereich
- data-visualization
Rechercherichtung
Führen Sie die mitgelieferten MATLAB-Beispiele mit fig2plotly aus, wobei TreatAs auf coneplot gesetzt ist. Vergleichen Sie die Ausgabe für cone FaceColor und EdgeColor, den slice-Hintergrund, die lighting-Einstellungen und Änderungen an view/daspect. Erledigt ist die Aufgabe, wenn diese coneplot-, surface-, lighting-, camera- und aspect-ratio-Einstellungen im Plotly-Ergebnis widergespiegelt werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
load wind;
xmin = min(x(:));
xmax = max(x(:));
ymin = min(y(:));
ymax = max(y(:));
zmin = min(z(:));
xrange = linspace(xmin,xmax,8);
yrange = linspace(ymin,ymax,8);
zrange = 3:4:15;
[cx,cy,cz] = meshgrid(xrange,yrange,zrange);
figure;
hcone = coneplot(x,y,z,u,v,w,cx,cy,cz,5);
hcone.FaceColor = 'red';
hcone.EdgeColor = 'none';
fig2plotly(gcf, 'TreatAs', 'coneplot');
The red color is not properly translated to plotly plot
load wind;
xmin = min(x(:));
xmax = max(x(:));
ymin = min(y(:));
ymax = max(y(:));
zmin = min(z(:));
xrange = linspace(xmin,xmax,8);
yrange = linspace(ymin,ymax,8);
zrange = 3:4:15;
[cx,cy,cz] = meshgrid(xrange,yrange,zrange);
figure;
hcone = coneplot(x,y,z,u,v,w,cx,cy,cz,5);
hcone.FaceColor = 'red';
hcone.EdgeColor = 'none';
hold on;
wind_speed = sqrt(u.^2 + v.^2 + w.^2);
hsurfaces = slice(x,y,z,wind_speed,[xmin,xmax],ymax,zmin);
set(hsurfaces,'FaceColor','interp','EdgeColor','none');
hold off;
fig2plotly(gcf, 'TreatAs', 'coneplot');
The vector field added to background with wind_speed is not added to plotly plot
load wind;
xmin = min(x(:));
xmax = max(x(:));
ymin = min(y(:));
ymax = max(y(:));
zmin = min(z(:));
xrange = linspace(xmin,xmax,8);
yrange = linspace(ymin,ymax,8);
zrange = 3:4:15;
[cx,cy,cz] = meshgrid(xrange,yrange,zrange);
figure;
hcone = coneplot(x,y,z,u,v,w,cx,cy,cz,5);
hcone.FaceColor = 'red';
hcone.EdgeColor = 'none';
hold on;
wind_speed = sqrt(u.^2 + v.^2 + w.^2);
hsurfaces = slice(x,y,z,wind_speed,[xmin,xmax],ymax,zmin);
set(hsurfaces,'FaceColor','interp','EdgeColor','none');
hold off;
camlight right;
lighting gouraud;
set(hsurfaces,'AmbientStrength',0.6);
hcone.DiffuseStrength = 0.8;
fig2plotly(gcf, 'TreatAs', 'coneplot')
The light source lighting gouraud; is not added to plotly plot.
load wind;
xmin = min(x(:));
xmax = max(x(:));
ymin = min(y(:));
ymax = max(y(:));
zmin = min(z(:));
xrange = linspace(xmin,xmax,8);
yrange = linspace(ymin,ymax,8);
zrange = 3:4:15;
[cx,cy,cz] = meshgrid(xrange,yrange,zrange);
figure;
hcone = coneplot(x,y,z,u,v,w,cx,cy,cz,5);
hcone.FaceColor = 'red';
hcone.EdgeColor = 'none';
hold on;
wind_speed = sqrt(u.^2 + v.^2 + w.^2);
hsurfaces = slice(x,y,z,wind_speed,[xmin,xmax],ymax,zmin);
set(hsurfaces,'FaceColor','interp','EdgeColor','none');
hold off;
camlight right;
lighting gouraud;
set(hsurfaces,'AmbientStrength',0.6);
hcone.DiffuseStrength = 0.8;
view(30,40)
daspect([2,2,1])
fig2plotly(gcf, 'TreatAs', 'coneplot')
view(30,40)
daspect([2,2,1])
is supposed to change initial view angle, and aspect ratio of the plot. Does not do it
- Vorherrschende Sprache
- MATLAB
- Sterne
- 414
- Forks
- 166
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus plotly/plotly_matlab
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
plotly/plotly_matlab#523 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
plotly/plotly_matlab#481 · 1 Kommentar ·
-
getplotlyfig() ErrorOffen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
plotly/plotly_matlab#480 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 35/100
plotly/plotly_matlab#479 · 1 Kommentar · 3 Reaktionen ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 25/100
plotly/plotly_matlab#474 ·
Alle Issues in plotly/plotly_matlab
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
flybywiresim/aircraft#11006 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
HenrikBengtsson/R.matlab#61 ·
-
easy first-contributor first-contributors good first issue help wanted matlab up-for-grabs
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
fork-commit-merge/fork-commit-merge#8442 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 87/100
VH-Lab/NDI-matlab#1115 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug-report SimpleFlight
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
iamaisim/ProjectAirSim#241 ·
Maintainer antworten meist innerhalb von 1 Tag