Questions tagged [graphplot]

6 questions
2
votes
1 answer

GraphPlot - Having nodelabels inside of node when graph's size greather than 100

The following MWE: using Graphs using GraphPlot, Compose, Cairo, Fontconfig n = 100 inst_graph = SimpleGraph(n) nodesize = 5ones(Float64, n) nodelabelsize = 0.02*ones(Float64, n) draw(PDF("test.pdf"), gplot(inst_graph, nodelabelsize=nodelabelsize,…
JKHA
  • 1,800
  • 11
  • 28
1
vote
2 answers

Any other options besides the traditional CLD bar graph?

I am looking for an alternative approach to plotting results from pairwise comparisons than traditional bar plots. If possible, I would like to create a plot like the one shown below [1], but for a model that includes an interaction effect. R code…
Lisa Kuder
  • 13
  • 3
0
votes
1 answer

How to complete Lagrange Interpolation correctly by python

I was asked to use Lagrange Interpolation to draw a line that pass through several dots on a graph (scipy.interpolate.lagrange banned). But it doesn't seem that my code can give the correct result. To be frank, I don't even know which part of it is…
7749
  • 11
  • 1
0
votes
0 answers

Julia Graphplot error "MethodError: no method matching get_adjacency_matrix(::SimpleDiGraph{Int64})"

I am using the following code in Julia v1.6 to plot a graph: graphplot(metanetwork1, method=:chorddiagram, markersize=3, nodeshape=:rect, linecolor=:lightgrey) where metanetwork1 is a {56, 445} directed simple Int64 graph I am getting the following…
ssjos
  • 1
  • 1
0
votes
2 answers

3-dimensional graph LightGraphs/GraphPlot/Julia or Networkx/Python

I am wondering whether it is possible to plot a vertical bar over a 2-dimensional representation of a graph. Say I have a tree and I want to associate with any node a "potential" which can be represented as a vertical bar.
dapias
  • 2,512
  • 3
  • 15
  • 23
-2
votes
1 answer

how convert my chart from current from to another in python data science?

This is my dataframe: data set I have generated this type of plot: bar chart I have wanted this type of plot: this is generated in excel what will be code snippet for it?