I tried to use VertexLabelStyle, but seemed not recognized in my system with version number 8.0.0.0. Is this expected or I have missed something? From the online documentation page, I don't see this option was added after version 8.0.0.0; it just says "New in version 8".
Tell me more
×
Mathematica Stack Exchange is a question and answer site for
users of Mathematica. It's 100% free, no registration required.
|
|
||||
|
Collecting the suggestions in the comments above: In version 8.0.4,
works fine. In version 8.0.0 it gives the error message
So, most likely explanation is: another version 8.0.0 bug fixed in version 8.0.4. |
|||
|
|


Graph[{1 \[UndirectedEdge] 2, 2 \[UndirectedEdge] 3, 3 \[UndirectedEdge] 1}, VertexLabels -> Table[i -> Subscript[v, i], {i, 3}], VertexLabelStyle -> Directive[Red, Italic, 20], ImagePadding -> 20]in your version and see what you get? This works fine in version 8.0.4. What you are seeing may be due to some fixes between 8.0.0 and 8.0.4 – kguler Feb 21 '12 at 21:34Graph::optx: Unknown option VertexLabelStyle in– Qiang Li Feb 21 '12 at 22:15