Re: Axes in ShowGraph

*To*: mathgroup at smc.vnet.net*Subject*: [mg54269] Re: [mg54259] Axes in ShowGraph*From*: "David Park" <djmp at earthlink.net>*Date*: Mon, 14 Feb 2005 23:38:19 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

Steve, Yes, that is one of the features of ShowGraph. I don't know if there is a way around it with the standard Combinatorica package. However, the DrawGraph function in the CombinatoricaGraphics package at my web site does draw the vertices at their actual location. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Steve Gray [mailto:stevebg at adelphia.net] To: mathgroup at smc.vnet.net I have a graph with 40 vertices, displayed with this function: ShowGraph [ comgraph, ImageSize -> 600, Background -> RGBColor[.9, 1., .9], VertexColor -> RGBColor[.5, .9, .9], VertexStyle -> Disk[0.03], VertexNumber -> True, VertexNumberPosition -> Center, TextStyle -> {FontSize -> 13, FontWeight -> Bold}, Axes -> True, PlotRange -> All ]; Everything looks correct except the values displayed on the axes bear no relation to the values of the vertices given by Vertices[comgraph]. (PlotRange->Automatic does the same thing.) The vertices have the values shown below, while the displayed axes run from about 0 to 0.64 on X and .53 to 1.0 on Y. I need the actual vertex coordinates displayed as they are given here: In[50]:= Vertices[comgraph] Out[50]= {{4.02,11.02},{3.71,5.73},{6.86,13.27},{-2.38,8.83},{1.69,11.97},{1.63, 14.08},{7.4,12.05},{7.54,11.46},{-3.85,13.21},{5.64,6.52},{2.66, 7.35},{-0.42,13.44},{-0.79,8.44},{-1.83,12.39},{3.831,7.7952},{3.7865, 7.0362},{4.2068,6.9192},{4.404,7.3913},{6.1905,11.6673},{6.4848, 12.372},{5.6225,12.6754},{4.1706,11.9777},{2.7813,11.3101},{1.0725, 10.489},{0.4406,10.1853},{-0.7015,9.6366},{-1.0597,9.4644},{-1.1438, 9.7837},{-0.6631,10.1546},{-0.1153,10.5772},{0.707,11.2116},{1.2879, 11.6598},{1.6789,12.3605},{-0.0049,12.6192},{-0.4754,12.6915},{-1.6347, 11.6483},{-0.6062,10.9233},{1.6612,9.3248},{0.3718,11.8744},{-0.5204, 12.0833}} Users of the Graph functions are probably in the minority, but can anyone explain this? Steve Gray