Graphs are (1) graphs functions or (2) sets of nodes and edges.
2
votes
1answer
28 views
dot2tex and math mode
I have successfully installed dot2texi but I'm facing an issue with the math mode. The sign (_) in math mode works fine however other symbols do not work. For example it ignores the bar over b in the ...
3
votes
2answers
111 views
How do I draw a graph in tikz where the vertices are only represented by the label names?
Right now, what I have is
\documentclass[11pt]{article}
\usepackage{tikz}
\usepackage{tkz-graph}
\tikzstyle{vertex}=[circle, draw, inner sep=0pt, minimum size=6pt]
\newcommand{\vertex}{\node[vertex]}
...
2
votes
2answers
97 views
Methods for graphing simulation data
I ran a large bootstrap simulation to gather data which I would now like to include in my paper. Currently, I have the data in an Excel spreadsheet so I could get a quick overview of what my results ...
7
votes
1answer
143 views
Family tree with multiple marriage ties
I'm trying to build a family tree, and among the many examples I've found online this one has been the most useful:
How can I improve this family tree in TikZ?
However, there are two things I cannot ...
3
votes
1answer
82 views
Graphing with custom axes
How would one go about creating a graph in LaTeX with custom axes, colors and labels, something like this:
If anyone knows the exact code to create this, that would be extremely helpful, but if not, ...
5
votes
2answers
93 views
Typesetting digraph with weighted edges, varying vertex size, multiple lines in vertex
I would like to draw the graph displayed in the following picture with TikZ and also do some modifications:
Firstly I want to carry the labels of the nodes to the inside as a second line.
For ...
8
votes
2answers
130 views
Typesetting a directed hypergraph in tikz
Similar to several other questions, I am trying to draw hypergraphs in tikz. I want to draw a directed hypergraph that looks something like those in this image from here:
As opposed to other ...
9
votes
1answer
203 views
Package for drawing RDF graphs
Is there some package to draw nice RDF
graphs, such as the one below (taken from there)?
Can such a graph (with the same style) be produced in TikZ?
3
votes
1answer
65 views
Problems in creating graphs using dataplot
I have four simple databases:
db1
dy,volume
2009,120000
2010,160000
2011,400000
2012,650000
2013,1000000
2014,1500000
db2
dy,volume
2009,400000
2010,500000
2011,1600000
2012,2200000
2013,2500000
...
2
votes
1answer
70 views
How to place two columns of graph on the same page
Please I need someone to help me out with this task. I used the code listing below to achieve the graph shown in Figure1.
\documentclass[12pt,a4paper,notitlepage]{article}
...
5
votes
1answer
210 views
How to draw a graph along with probabilty tables using TikZ package
I need help to draw a Directed Acyclic Graph of Bayesian Network along with probability of each node using TikZ package. Here is an example:
Table grid can be a full or partial as in above example.
...
16
votes
1answer
293 views
Drawing Tapered Edges in Graph
I'd like to achieve the following effect in a TikZ picture when drawing a straight edge from one node to another. How can I achieve this tapering effect? Notice what happens when an edge exists from ...
3
votes
1answer
46 views
qtree items do not have the same baseline
I drew a tree with the qtree package. However, this tree has no consistent baseline.
Screenshot:
MWE:
\documentclass{scrreprt}
\usepackage{qtree}
\begin{document}
\Tree[.table
...
3
votes
1answer
107 views
I want to create graph with nodes as in the image:
I wrote an example graph with \xymatrix - that's OK. I added circles with &*+[Fo], that's OK too. I added table inside first circle with \begin{tabular} - it is OK. But table needs to be rotated ...
5
votes
1answer
96 views
Referencing a Vertex that has Math Typesetting inside it to make an Edge
I want to create math font inside of my vertex circles, AND draw edges between them. How I typically create network graphs is as follows:
\usepackage{tkz-graph}
\begin{tikzpicture}
...
4
votes
0answers
117 views
(ConTeXt MkIV) Text in PiechartMP
So I need to include some pie charts in my document. As I'm using Metapost for all graphics I tried using the PiechartMP Metapost package. But for some strange reason no text shows up, just a very ...
1
vote
0answers
210 views
drawing directed acyclic graph DAG with minimal crossing arrows
I'm working on DAGs to solve different combinatorial problems in Computer Science.
Now, each time I try a simple example, I need to visualize the DAG and test its properties.
I iteratively add ...
0
votes
0answers
71 views
How to draw graphs in tikz/latex? [duplicate]
Possible Duplicate:
Using LaTeX to draw time series graphs and histograms
I have never drawn any graphs in latex/tikz. What is the best and the simplest way to draw graphs in latex. I want ...
8
votes
1answer
210 views
How can I make a graph with irregular time/date intervals on the x-axis?
I have a data set that has values for a set of dates, but these dates don't have a regular interval (i.e. 1 Feb., 3 Feb., 15 Feb., 5 March) . So my question is: is there a package or other method to ...
4
votes
2answers
833 views
Is it possible to put MS Excel graphs into a LaTeX document?
I will be using Microsoft Excel to produce graphs and I was wondering if there was a simple way to put those graphs into a LaTeX document?
4
votes
1answer
172 views
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 ...
6
votes
2answers
160 views
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 ...
4
votes
0answers
83 views
Heavy arrow tips for xy-pic
Arrows in xy-pic have narrow heads, but I need heavy tips for my graphs. I tried the follwoing arrow definition, but the tip of the arrow enters into the circle of graph node.
\documentclass{report}
...
3
votes
0answers
100 views
Wavy arrows in xy-pic
What method should I use, to draw beautiful wavy arrows.
So far I tried the following.
I use xy-pic package, there I use @{~>} definition for the arrow.
The code I've composed is like this:
...
2
votes
2answers
240 views
tikz graphs: draw an edge from a node without a goal node
Is it possible to write an edge going from a node but out into nowhere, see image below (ignore the trace of goal node that is visible)
2
votes
3answers
283 views
programs for creating diagrams
Does anybody know of some programs I can use to make diagrams that look like the following
I would use the above diagram directly, however due to copyright issues, this is not an option for me. ...
1
vote
0answers
36 views
Save and load TikZ graphs [duplicate]
Possible Duplicate:
Outsourcing TikZ code
Pardon the question, I'm an undergrad using TikZ and LaTeX to write-up my final term report.
Is there a way to write the code for a tikzpicture ...
2
votes
1answer
221 views
Graphing algebraic functions and converting to image (PNG)
My goal is to be able to generate, on-the-fly, a small variety of graphs--linear functions, quadratics, inequalities, multiple plots of each. Nothing more complex than what you'd see in a high school ...
9
votes
3answers
176 views
Matrix from graph description
Are there any LaTeX package that draws/plots/generates a matrix from a "graph" description (node relations). Any type of description/language could be useful. The trick is to generate automaticly a ...
0
votes
0answers
68 views
how to hide small edge [closed]
I am using tikz to draw a diagram based on generated data. Actually I am generating the code itself. My question is as follow: is there a way to hide edges smaller than a certain length? My plot have ...
6
votes
2answers
247 views
Tikz Composite Midpoint Rule Horizontal Lines
I have 'written' the following code to get the attached diagram but am unable to draw horizontal lines above the even notes, i.e. x-2j and x-2n as well as x-0 and x-2. This was extremely straight ...
4
votes
1answer
184 views
Could someone help me pgfplots the following functions (w/labels)?
This is an extension of my previous question concerning graphing a pair of functions using pgfplots (please see link below):
Could somebody figure out how to create the following graph using pgfplot?
...
5
votes
1answer
447 views
How to create a gaussian curve with pgfplot?
What I want:
This is what I have so far in terms of code:
\newcommand\gauss[2]{1/(#2*sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))}
% Gauss function, parameters mu and sigma
\begin{tikzpicture}
...
1
vote
2answers
240 views
Scientific workplace piecewise constant function
I want to sketch a piecewise constant function. Ie S(t) on y axis, time on x axis. The values of S(t) are arbitrary, I just want a piecewise constant function with time partition 1/10 to use:
...
7
votes
3answers
377 views
Tikz graph: weight above the node
Hy,
I would like to know if it is possible in Tikz graphs put the weight above the vertice (this way, all edges to the destination node has the same weight) instead above the edge. Here is an ...
3
votes
1answer
334 views
Tikz Graph with Nodes and Edges and some Dots
I want to draw an image like this with TIKZ.
I want to convert the Squares to rectangles, thus I am using Tikz. However, I am unable to draw those dots in TIKZ.
Here is the code that I have ...
14
votes
1answer
364 views
How to plot integral as summation, as pictured?
I'm new to TikZ and pgfplots but would like to know how to plot the square as well as how to plot the arrows + delta x as well as arrow + delta A:
I'd be most grateful if some of you had some ...
5
votes
0answers
323 views
Trying to make an automatic histogram (in pgfplots?)
How can I convert the automatic table generated by the macro, to an automatic histogram?
Is the best way do it using pgfplots?
\documentclass{article}
\RequirePackage{ifthen}
...
0
votes
0answers
186 views
In a graph how to put infinity on the edgelabels? [closed]
So I am making Digraphs in tikz and want to put infinity as edge label but im getting an error. I got no error when i set the label under the vertices to infinity.
...
1
vote
1answer
232 views
Problem with simple TikZ plot
I'm trying to make an explanatory graph that boils down to annotating curves between two arbitrarily placed points.
My TikZ/Tex code just isn't compiling even though it closely follows the manual; ...
6
votes
1answer
207 views
How to grey out edges in a tikz graph?
I'm trying to grey out edges of a graph to high a region of interest. For instance, I would like to make every edge expect for that labeled "interest" grey in the following MWE.
\usefonttheme{serif}
...
1
vote
1answer
195 views
pgf stacked bar graph with line plot
I want to draw a stacked bar graph plot with one parameter as a line plot.
Here is my code below -
\begin{tikzpicture}
\pgfplotstableread{Figures/measurements.dat}
\datatable
...
4
votes
1answer
380 views
Making chart grids be finer grained
For the MWE below:
\documentclass{report}
\usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage{tikz,pgf}
\usepackage{pgfplots}
\usepackage{slashbox}
...
1
vote
1answer
386 views
Tikz Graph Example – all nodes stacked
I try to reproduce the \graph example of the pgf manual 2.10 page 208:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{graphs}
\begin{document}
\tikz \graph {a -> { b , c } -> d};
...
6
votes
1answer
244 views
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;
...
6
votes
1answer
199 views
As my exponentials in TikZ plot a parabolic style function, do I install CVS version, and how?
I'm very new to LaTeX.
I have read Is plotting exponential graphs a known source of bugs in TikZ? and implemented the code Jake supplied and this fixed the current problem. Thanks Jake :).
On this ...
4
votes
2answers
717 views
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 ...
3
votes
2answers
179 views
Numbers as markers with \foreach and additional macro based on counter
First issue
I would like to plot several curves using the \foreach command and
have their number in the sequence as markers.
Here is the code I came up with :
\documentclass{article}
...
2
votes
1answer
276 views
How can I position the text within a node of a graph?
I would like to create a visualization of the Bellman-Ford algorithm. To do so, I need to add the information of the weight (number or $\infty$) and the predecessor (letter) into every node. This ...
24
votes
2answers
1k views
What is the clearest way to graph a piecewise function?
I have a function defined as:
How can I graph that using functions instead of coordinates? I'm currently working with pgfplots but I'm open to something else if it's better.
