MARK A POINT ON A 3D PLOT
이전 댓글 표시
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
Habeeb
2021년 3월 22일
dpb
2021년 3월 22일
You've drawn a 3D scatter(?) plot; the other image is 2D surface.
You've got data in the cubic space that is essentially solid with the number of points and the axes size and undoubtedly the location of the maximum is somewhere in the middle and so is occluded.
You could try setting the MarkerEdgeAlpha and MarkerFaceAlpha properties to something less than 1 (the default) to see if that will let the other point show through.
Habeeb
2021년 3월 22일
dpb
2021년 3월 22일
What did you set alpha to? Doesn't look very much less...try 0.1 and see what happens.
You can't see through a solid wall, it takes a window glass--same thing here; the data points are bricks.
I don't know anyway you will be able to have a point buried in the middle to show up -- oh!
Show us the code -- how are you putting the highlight on the one point?
You possibly could plot the point last and then have it on top layer instead...
Habeeb
2021년 3월 22일
Habeeb
2021년 3월 22일
dpb
2021년 3월 23일
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?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!