Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10887 > unrolled thread

Is there a way to stop the vertex labels from over-lapping?

Started byMuhammad Abuzaid <muhammad.abuzaid@gmail.com>
First post2012-07-11 22:23 +0000
Last post2012-07-11 22:23 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Is there a way to stop the vertex labels from over-lapping? Muhammad Abuzaid <muhammad.abuzaid@gmail.com> - 2012-07-11 22:23 +0000

#10887 — Is there a way to stop the vertex labels from over-lapping?

FromMuhammad Abuzaid <muhammad.abuzaid@gmail.com>
Date2012-07-11 22:23 +0000
SubjectIs there a way to stop the vertex labels from over-lapping?
Message-ID<jtkudo$1e$1@smc.vnet.net>
Wondering whether someone can help me with the following two issues:

1. Is there a way to stop the vertex labels from over-lapping? (eg, "Shape
of flood front" and "Current owc & flood front" boxes over-lap)
2. Is there a way to make the lines (arrows) thicker ?
3. Is there a way to avoid the arrows being covered by the labels/boxes?

Things I've tried so far:
1.a. Tried explicitly choosing the coordinates of the plot (very manual
process, invloving exporting and importing in excel)
1.b. Tried expanding the graphics so thet the labels don't over-lap...but
it ends up wasting too much 'screen' real-estate and looking silly
2. Tried using the Thickness[] and Thick options but couldn't get it to
work here
3. Tried the setback parameter of the Arrow[] function, but if its too
small, the arrow is sometimes covered by the label...if its too big, the
arrowhead is too far from the target

I also thought the ImagePadding function/option/directive could be used but
could figure out how...

Mathematica code below:

GraphPlot[{"Current owc & flood front"->"Oil presence by layer","Current
owc & flood front"->"WCUT","Injection distribution"->"Shape of flood
front","Oil presence by layer"->"Location of remaining
oil","Pdifferential"->"Shape of flood front","Shape of flood
front"->"Current owc & flood front","Sor"->"Oil presence by
layer","Sor"->"Sr","Coning"->"Shape of flood front","Geological
variations"->"Sand presence by layer","Geological variations"->"Rock
type","Relative permeability"->"Shape of flood front","Rock
type"->"Sor","Rock type"->"Rock quality","Aquifer strength"->"Current owc &
flood front","Measurement uncertainty"->"Injection distribution","Shale
length continuity"->"Current owc & flood
front"},VertexLabeling->All,EdgeRenderingFunction->({Arrowheads[.02],Arrow[Line[#1,VertexColors->{Red,Black}],0.2]}&)]




Thanks

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web