MATLAB Answers

can we combine more than one marker for a same point?

조회 수: 10(최근 30일)
DhanaLakshmiR
DhanaLakshmiR 8 Jun 2018
댓글: Walter Roberson 15 Jun 2018
Is there any possible to use more than one marker to form a flight shaped image like below attached image?

  댓글 수: 1

Walter Roberson
Walter Roberson 8 Jun 2018
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.

로그인 to comment.

답변(2개)

Stephen Devlin
Stephen Devlin 8 Jun 2018
Would it be better to show this in a 3D plot?

  댓글 수: 1

DhanaLakshmiR
DhanaLakshmiR 15 Jun 2018
yes, if it is shown in 3D then is much better.

로그인 to comment.


Walter Roberson
Walter Roberson 8 Jun 2018
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

DhanaLakshmiR
DhanaLakshmiR 15 Jun 2018
I have already attempted those graphics object transform. It is working well. But I'm eager to know that combining markers is possible or not? But it is not possible, right?
Walter Roberson
Walter Roberson 15 Jun 2018
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.

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.

태그


Translated by