Plot two different data having the same xy-location

I am using the graph plot function to plot some data having the same xy-location. However, I want to highlight some of these data with different sizes so that I can see both data visualized for the same node. For instance, the order of the color in the figure below is RYK, red then yellow and black on the top. The function "markersize" can be used but it changes the whole nodes with the same defined size. Is any way to give different sizes for these nodes? Any idea? Thanks in advance

답변 (1개)

Preethi
Preethi 2017년 1월 18일

0 개 추천

hi,
you can use hold on functionality or plot the data in different series. Hope the below link is useful. http://in.mathworks.com/matlabcentral/answers/6537-plot-marker-size

댓글 수: 1

Thanks Preethi, unfortunately, that only works with plot but not grapgh fn that I am using.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2017년 1월 18일

댓글:

2017년 1월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by