can we combine more than one marker for a same point?
조회 수: 1 (최근 30일)
이전 댓글 표시
Is there any possible to use more than one marker to form a flight shaped image like below attached image?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191097/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191098/image.png)
댓글 수: 1
Walter Roberson
2018년 6월 8일
Certainly not at arbitrary angles, and there is no way to specify a composite marker: you would have to carefully place each of the component markers. You just might be able to get something that looked like the blue marker in your drawing, but the other ones would give you difficulty.
답변 (2개)
Walter Roberson
2018년 6월 8일
Create a graphics object with the appropriate shape and color and one fixed orientation. Now parent it to an hgtransform group. Use maketform to create a transformation matrix of rotations and translations, apply that.
Now, as the marker is to "move", update the transformation matrix and apply it to the hgtransform group; the marker will turn or move as appropriate.
If you use an image() object for this purpose, make sure that you use AlphaData with it so that only the structure of the marker shows and whatever is underneath shows through the rest of the rectangle.
댓글 수: 2
Walter Roberson
2018년 6월 15일
It is not possible to create a new marker and then instruct MATLAB to use it as a marker. You can only create images that you overlay, or you can create patch objects that you place as needed.
참고 항목
카테고리
Help Center 및 File Exchange에서 Object Containers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!