MARK A POINT ON A 3D PLOT

7 visualizzazioni (ultimi 30 giorni)
Habeeb
Habeeb il 22 Mar 2021
Modificato: darova il 24 Mar 2021
Please, I plotted my x,y,z combinations as shown in the figure below. The x,y,z combination is 636,056 (data size). My optimal x,y,z point is highlighted with red. However, the highlighted POINT is not SHOWING ON THE 3D PLOT. I guess this is due to the data size. Becuause, when I tried with few data size, it appears perfectly. Please, how do I solve this problem with my large data size. I want my plot to look similar to this Figure. Thank you.
  8 Commenti
dpb
dpb il 23 Mar 2021
So, you can begin to see the dot...try 0.01.
Where's the code to write the max point in the above?
What's the point of plotting so many points as to make just a solid cube, anyways?
Habeeb
Habeeb il 23 Mar 2021
Modificato: darova il 24 Mar 2021
It works now with the 0.01 . Please, see code below and the attached. Many thansk, dpb. regards.
h = scatter3(x0Grid(:,1),x0Grid(:,2),x0Grid(:,3));
hold on
scatter3(Optimal_k(:,1),Optimal_k(:,2),Optimal_k(:,3),'MarkerFaceColor','r','MarkerEdgeColor','r');
h.MarkerFaceAlpha = .01;
h.MarkerEdgeAlpha = .01;

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by