Plot two different data having the same xy-location

1 回表示 (過去 30 日間)
Ismaeel
Ismaeel 2017 年 1 月 18 日
コメント済み: Ismaeel 2017 年 1 月 19 日
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 日
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 件のコメント
Ismaeel
Ismaeel 2017 年 1 月 19 日
Thanks Preethi, unfortunately, that only works with plot but not grapgh fn that I am using.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by