Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11688
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: VertexLabeling in GraphPlot |
| Date | 2012-09-10 08:13 +0000 |
| Message-ID | <k2k7fu$12l$1@smc.vnet.net> (permalink) |
| References | <20120909213244.00C2D6763@smc.vnet.net> |
| Organization | Time-Warner Telecom |
This doesn't solve all of the problems but helps with some of them.
Adjust the ImageSize and AspectRatio for the space available.
Manipulate[
GraphPlot[
Table[i -> Mod[3 i + 1, n], {i, n}],
VertexRenderingFunction ->
({White, Disk[#1, .1],
Black, Text[#2, #1]} &),
DirectedEdges -> True,
Method -> "HighDimensionalEmbedding",
PackingMethod -> "ClosestPacking",
AspectRatio -> GoldenRatio],
{n, 10, 200, 1, Appearance -> "Labeled"}]
Bob Hanlon
On Sun, Sep 9, 2012 at 5:32 PM, Stefan Wolfrum <metawops@gmail.com> wrote:
> Hi folks,
>
> this is my very first posting to this group. So be patient with me if I'm making any mistakes. :-)
>
> I was playing with GraphPlot and soing something like this:
> Manipulate[=E2=80=A8 GraphPlot[Table[i -> Mod[3 i + 1, n], {i, n}], VertexLabeling -> True, =E2=80=A8 DirectedEdges -> True], {n, 10, 200, 1}]
>
> Sometimes the resulting yellow label boxes are overlapping and I was wondering if there is any way to manipulate the drawing of those labels? Unfortunately, LabelStyle->Small doesn't work here. (Of course, making the image larger reduces this problem but my screenestate isn't unlimited.
=A6 ;-))
>
> I was also wondering how I could make more space around each single VertexLabel so that they spread out more (and thus don't overlap).
>
> Any help greatly appreciated! :-)
>
> Thanks a lot in advance,
> Stefan.
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: VertexLabeling in GraphPlot Bob Hanlon <hanlonr357@gmail.com> - 2012-09-10 08:13 +0000
csiph-web