Re: Labels on graphs
- To: mathgroup at smc.vnet.net
- Subject: [mg54609] Re: [mg54564] Labels on graphs
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Thu, 24 Feb 2005 03:21:12 -0500 (EST)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
Use the option PlotRange
Needs["DiscreteMath`Combinatorica`"];
ShowGraph[CompleteGraph[10],
VertexLabel->KSubsets[Range[5],3],
PlotRange->All];
Bob Hanlon
>
> From: Erich Neuwirth <erich.neuwirth at univie.ac.at>
To: mathgroup at smc.vnet.net
> Date: 2005/02/23 Wed AM 03:11:35 EST
> To: mathgroup at smc.vnet.net
> Subject: [mg54609] [mg54564] Labels on graphs
>
> With
> <<DiscreteMath`Combinatorica`
> I would like to label the vertices of a graph with sequences, like this.
> ShowGraph[CompleteGraph[10], VertexLabel -> KSubsets[Range[5], 3]]
>
> The problem is that the label get chopped off at the right margin.
> What is an easy solution for getting the labels fully readable in this case?
>
>