|
SOLUTIONS
|
COMBINATORICA 程序包 符号
Highlight
![]()
displays
with elements in
highlighted. The second argument
has the form
, where the
are disjoint subsets of vertices and edges of
.
更多信息更多信息
- To use
, you first need to load the Combinatorica Package using Needs["Combinatorica`"]. - The options HighlightedVertexStyle, HighlightedEdgeStyle, HighlightedVertexColors, and HighlightedEdgeColors are used to determine the appearance of the highlighted elements of the graph.
- The default settings of the style options are HighlightedVertexStyle->Disk[Large] and HighlightedEdgeStyle->Thick.
- The options HighlightedVertexColors and HighlightedEdgeColors are both set to
Black, Red, Blue, Green, Yellow, Purple, Brown, Orange,
Pink,

. - The colors are chosen from the palette of colors with color 1 used for
, color 2 used for
, and so on. If there are more parts than colors, then the colors are used cyclically. - The function permits all the options that SetGraphOptions permits, for example, VertexColor, VertexStyle, EdgeColor, and EdgeStyle. These options can be used to control the appearance of the non-highlighted vertices and edges.
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
