Questions tagged [graphs]

Graphs are (1) graphs of functions or (2) sets of nodes and edges.

1151 questions
41
votes
6 answers

Use Graphviz within *TeX

I am trying to generate a a graph with dot/graphviz. Is it possible to include it within *TeX and be compiled at *TeX compile time? I've read about TikZ, but it's not the same syntax, is it possible to translate a dot file to tikz?
Tiago Veloso
  • 4,599
11
votes
2 answers

Neural Network illustration

I'm trying to create a neural network illustration using the neuralnetwork package. I want to label my bias-neurons separately. Right now I have the code: \documentclass[fleqn,11pt,a4paper,final]{article}…
B.Joe
  • 113
8
votes
6 answers

By which pkg to visualize a hypercube graph?

I am trying to visualise hypercube like the below. I have asked help here but getting nodes on top of each other with the packages there. The N-th hypercube has 2^n nodes and each vertex with the degree of n. I am trying to find a way to vizualise…
hhh
  • 8,743
7
votes
2 answers

Latex Code to Draw Bloom Graph B4,8 with labelling

I am trying to draw bloom graph in Latex following are some bloom graphs. I used the code \documentclass[10pt]{article}…
SEENA
  • 71
6
votes
2 answers

How to add a single axis label to multiple graphs

Please I need someone to help me address this problem. I have three graphs that I created using excel and I have been able to save them as eps files. I've been able to use the \raisebox command to arrange the graphs in the order I want but adding…
Fizzle
  • 235
6
votes
1 answer

Drawing a Petersen graph as a voltage graph

I am trying to illustrate a voltage graph construction of the Petersen graph. In practice, this means: The outer cycle will be labelled clockwise (a,0),...,(a,4) with arcs oriented in that order; The inner cycle will be labelled clockwise…
Tim_P
  • 61
6
votes
2 answers

How to create simple graph in latex

How to create simple graph in latex. x,y axis with straight line drawn at (0,0) at 45 degress through the x,y axis. The graphs here are excellent but just too complicated for newcommers. here is the link
tmk
  • 69
6
votes
2 answers

Moving arrow to the bottom of the graph using graphviz

I was trying to use graphviz to crete the following graph: digraph G { rankdir=TB; size="8,5" node [shape = circle]; 0 1 2 3 4 5 node [shape = circle]; 1 -> 2 []; 2 -> 3 []; 3 -> 4 []; 4 -> 5 []; 5 -> 1 []; 0…
vesii
  • 373
5
votes
2 answers

How to draw directed graph?

I need to draw the following Figure: I already wrote the following code: In this code not generate the directions of the graph. How to do this and organizte according to Figure that I…
Frank
  • 192
4
votes
1 answer

How to reduce the space between the y-axis label and the plots

Please I need some one to help me out with this issue. I have been able to add common axes labels to two plots I made with excel successfully. Now the problem I have is that the class file (name cit_thesis11 and approved by my university) I…
Fizzle
  • 235
4
votes
2 answers

Drawing a Normal Distribution Graph

I have no idea how to create a graph of a normal distribution. I'll attach an image of exactly what I'm trying to recreate. Also, is there a way of undoing a PDF back to LaTeX code if LaTeX was used to make the pdf? otherwise I'll just be mindlessly…
3
votes
1 answer

How to make curved arrows on graphs?

I'm trying to make a graph like this, but I have not been able to draw the curved arrow in the center. Here is what I have: \begin{figure} \centering \begin{tikzpicture} %% vertices \draw[fill=black] (0,0) circle (3pt); \draw[fill=black] (1,0)…
3
votes
3 answers

Graph of Sine Integral

I want to graph a function defined by an integral. In particular the sine integral Si(x). Si(x) = \int_0^x \frac{\sin(t)}{t} dt. I can't seem to find a way do to it.
3
votes
2 answers

How to draw a Cayley Graph?

I need to draw a Cayley graph, but I dont know how to do it. In particular i need the same graph as shown in the figure. Please help me. I can do this for…
3
votes
1 answer

graphviz overlap edges and arrows

So I was using graphviz and wrote the following piece: digraph MyGraph { rankdir=TB; size="8,5"; node [shape = circle]; 1 2 3 4 5 6 7 8 9 r 1->4 1->4 1->5 1->5 2->6 2->6 2->7 2->7 3->8 3->8 …
abuka123
  • 133
1
2 3 4 5 6