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


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

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!newspump.sol.net!posts.news.twtelecom.net!nnrp2.twtelecom.net!not-for-mail
From Muhammad Abuzaid <muhammad.abuzaid@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Is there a way to stop the vertex labels from over-lapping?
Date Wed, 11 Jul 2012 22:23:52 +0000 (UTC)
Sender steve@smc.vnet.net
Approved Steven M. Christensen <steve@smc.vnet.net>, Moderator
Message-ID <jtkudo$1e$1@smc.vnet.net> (permalink)
Lines 43
Organization Time-Warner Telecom
NNTP-Posting-Date 11 Jul 2012 22:24:02 GMT
NNTP-Posting-Host a90c81e7.news.twtelecom.net
X-Trace DXC=NA_eT;TPFNW^COXQjVEe\SC_A=>8kQj6];[h;PUXBgbTjW:FEg8l=4\EFiONJ7[GoVf@B6GF8Ak;W
X-Complaints-To abuse@twtelecom.net
Xref csiph.com comp.soft-sys.math.mathematica:10887

Show key headers only | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web