MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Labels on graphs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54597] Re: [mg54564] Labels on graphs
  • From: yehuda ben-shimol <bsyehuda at gmail.com>
  • Date: Thu, 24 Feb 2005 03:21:02 -0500 (EST)
  • References: <200502230811.DAA26568@smc.vnet.net>
  • Reply-to: yehuda ben-shimol <bsyehuda at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

ShowGraph accepts all the option of the regular Graphics[], so just
add an option suc as PlotLabel as you do in other built in functions
e.g. (using your example)
 
ShowGraph[CompleteGraph[10], VertexLabel -> KSubsets[Range[5], 3], PlotLabel \
-> "This is my First Complete Graph drwaing"]

yehuda

On Wed, 23 Feb 2005 03:11:35 -0500 (EST), Erich Neuwirth
<erich.neuwirth at univie.ac.at> wrote:
> 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?
> 
>


  • References:
  • Prev by Date: Why are permutations duplicated with LexicographicPermutations? How to avoid this?
  • Next by Date: Re: expression formatting inside tables
  • Previous by thread: Labels on graphs
  • Next by thread: Re: Labels on graphs