Cannot find highlight function
5 ビュー (過去 30 日間)
古いコメントを表示
Hello -
I am trying to use the highlight function to change the properties of some nodes of a graph.
When I use
highlight(g,1)
where g is a graph object, I get the error message "check for missing argument or incorrect argument data type in call to function 'highlight' "
If I try simply
highlight
I get an unrecognized function or variable error.
I do not think highlight is in a toolbox, so why the error? Furthermore when I try
help highlight
I receive the appropriate message.
Thanks.
0 件のコメント
採用された回答
Steven Lord
2021 年 1 月 8 日
The description of the first input argument H listed on the documentation page indicates it must be a GraphPlot object created by calling plot on a graph or digraph. You can't highlight the graph or digraph objects themselves.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graph and Network Algorithms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!