Re: How change font size of Graph vertex labels?
- To: mathgroup at smc.vnet.net
- Subject: [mg117244] Re: How change font size of Graph vertex labels?
- From: Lou <lvveen32 at xs4all.nl>
- Date: Sat, 12 Mar 2011 05:11:11 -0500 (EST)
- References: <ilcqeh$im9$1@smc.vnet.net>
On 11 mrt, 10:36, Murray Eisenberg <murrayeisenb... at gmail.com> wrote: > I want to make the "Names" labels of vertices in a Graph larger. The > "obvious" way... > > Graph[{1, 2, 3}, > {DirectedEdge[1, 2], DirectedEdge[2, 3], DirectedEdge[3, 1]}, > {VertexLabels -> {Placed["Name", Center]}, VertexSize -> {Med= ium}, > VertexStyle -> {24}}] > > ...seems to do nothing. And replacing the option VertexStyle -> {24} > with the wordier VertexStyle -> {FontSize->24} prevents Mathematica from > evaluating the Graph expression at all. > > (Mathematica 8.0.1) > -- > Murray Eisenberg mur... at math.umas= s.edu > Mathematics & Statistics Dept. > Lederle Graduate Research Tower phone 413 549-1020 (H) > University of Massachusetts 413 545-2859 (= W) > 710 North Pleasant Street fax 413 545-1801 > Amherst, MA 01003-9305 Hi Marray, This worked for me mm8.01 Graph[{1, 2, 3}, {DirectedEdge[1, 2], DirectedEdge[2, 3], DirectedEdge[3, 1]}, {VertexLabels -> {Placed["Name", Center]}, VertexSize -> {Medium}, VertexLabelStyle -> Directive[Black, Italic, Underlined, 45]}] Kind regards, Lou