docs - coneplot problems
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- matlab
- Domaine
- data-visualization
Piste de recherche
Exécutez les exemples MATLAB fournis avec fig2plotly, en définissant TreatAs sur coneplot. Comparez la sortie pour cone FaceColor et EdgeColor, l’arrière-plan de slice, les paramètres de lighting et les modifications de view/daspect. C’est terminé lorsque ces paramètres de coneplot, surface, lighting, camera et aspect-ratio sont reflétés dans le résultat Plotly.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- MATLAB
- Étoiles
- 414
- Forks
- 166
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de plotly/plotly_matlab
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
plotly/plotly_matlab#523 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
plotly/plotly_matlab#481 · 1 commentaire ·
-
getplotlyfig() ErrorOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
plotly/plotly_matlab#480 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 35/100
plotly/plotly_matlab#479 · 1 commentaire · 3 réactions ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 25/100
plotly/plotly_matlab#474 ·
Toutes les issues de plotly/plotly_matlab
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
flybywiresim/aircraft#11006 ·
Les mainteneurs répondent en général sous 2 jours
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
HenrikBengtsson/R.matlab#61 ·
-
easy first-contributor first-contributors good first issue help wanted matlab up-for-grabs
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
fork-commit-merge/fork-commit-merge#8442 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 87/100
VH-Lab/NDI-matlab#1115 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug-report SimpleFlight
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
iamaisim/ProjectAirSim#241 ·
Les mainteneurs répondent en général sous 1 jour