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

learn more… | top users | synonyms

4
votes
1answer
50 views

How to create circular graphs with labels in Latex?

I am trying to draw these graphs with labels in Latex. I already drew a graph in this style with this code: \documentclass[tikz, border=5]{standalone} \usetikzlibrary{calc,arrows} \tikzset{ every ...
4
votes
0answers
77 views

Is there a TeX-native way to generate a readable graph from an adjacency matrix?

related questions This question goes the opposite way from the conversion I would like: Matrix from graph description This question is almost what I want, but the vertex coordinates are manually ...
3
votes
0answers
48 views

Node size in graph with pgf 3.0

I want to draw some graphs with pgf 3.0, but the size of the nodes are not being taken into account when laying out the graph using spring layouts. Here is an example document: ...
3
votes
0answers
119 views

How to color vertices in a TikZ graph?

Consider the following code to draw a graph using TikZ: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{graphs,graphs.standard} \begin{document} \begin{tikzpicture} \graph ...
3
votes
0answers
103 views

How can I programmatically draw a nonlinear writing system with automatic graph relaxation?

Alex Fink & I have a non-linear written language, UNLWS. Maintaining its grammar document in Google Docs is growing excessively cumbersome, however, because of how much time it takes to load each ...
3
votes
0answers
130 views

How to color groups of bars in a graph, coming form an external file?

I have a graph displaying bars and error bars, the numbers comming from an external .dat, being simply black and white. And this is how I got there: \documentclass[12pt]{report} ...
2
votes
0answers
159 views

Flip x and y axis of ternary graph

I am trying to reproduce the USDA Soil Triangle. To do so, I would need to flip the x and y axis of the default pgfplots-ternary. I understand, that I could switch my inputs (don't really want to do ...
2
votes
0answers
94 views

Fork down edge style with Tikz 3.0 tree graph

When node/child style is used, it is possible to achieve fork down edge style picured here: What would be the syntax for the similar edge style, but using graph? The below MWE produces sloped ...
2
votes
0answers
104 views

How to draw a graph on a sphere using tikz

I'm trying to make some TiKz graphics for a project I am working on and I am a little stuck. What I am looking for is to be able to draw some planar graphs on a sphere's surface? Any help would be ...
1
vote
0answers
84 views

Unequal bin widths in pgfplots density histogram

In the pgfplots manual, it talks about density histograms with equal bin widths/ranges. Is it possible to make a density histogram with specified unequal bin widths/ranges? For example, if I set ...
1
vote
0answers
97 views

Fitting TikZ graphs into a small space

I am trying to produce a graph of the kind at the end of Kanamori's textbook - "The Higher Infinite": It would be nice to have a method that extends to any graph of implications, so rather than put ...
1
vote
0answers
263 views

Organizational Chart / Family Tree using tikz drawing library

Previous questions showed how this can be done with plain tikz. I wonder if it is possible to use tikz drawing library for this purpose. Here are two previous questions that do this without the use ...
1
vote
0answers
43 views

.eps graph overlapped with caption

I need your help desperately. I used latex to compile everything and used dvipdf to convert it to pdf. The graph (test) came out is overlapped with the caption. Can anyone point out what is the ...
1
vote
0answers
478 views

Plotting Multiple Time Series plots in LaTeX using PGFplots and txt files - Relativity Issues

I have a problem with plotting multiple time series plots in a single graph in Latex. Background: I have three products - Potatoes, Apples, and Oranges. Each products' historical price and ...
1
vote
0answers
150 views

Drawing the area under the curve of a function in LaTeX

Could you give me some guidance for producing a simple graph showing the integral of a function as the area under its curve?
1
vote
0answers
95 views

ASCII graphs in LaTeX document?

I have ASCII graphs which I want to get nicer like the below. How can I embed ASCII graphs nicely converted to LaTeX document? Input 11 11 01 10 <-> 10 01 00 ...
0
votes
0answers
66 views

\graphicspath not working

I have saved a .eps file on a folder. I am using ShareLatex, but the code does not work. I couldn't find anything wrong with it looking at previous answers. Any hints? The complete code looks like ...
0
votes
0answers
53 views

Inserting graph from a software in Latex

I made a graph with Desmos.com. Which I want to insert in my LaTeX code, on the right side of these equations: \documentclass[12pt,a4paper]{article} \usepackage[a4paper, total={6in, 8in}]{geometry} ...
0
votes
0answers
29 views

How do I use fonts from TeX Live in Graphviz?

So I need to set my fonts for dot the way the pt to be the same as in pdflatex - so I'm looking for a way to use the same fonts pdflatex uses. Note also, that I'm unsure whether cm-super or cm-unicode ...
0
votes
0answers
28 views

Want to run graph on Beamer class

Before this, I run the program code about a graph in \documentclass{article}and it succeed. But, when I change it to \documentclass{beamer} and add \begin{frame} ...content... \end{frame} in the ...
0
votes
0answers
59 views

eps files by originpro 8 do not show properly in LaTeX

The images in my paper are in EPS format. When I execute the paper, the graphs won't appear correctly (either the axes titles, legends or some data is missing). The graphs appear properly in the .eps ...
0
votes
0answers
107 views

Are there LaTeX packages able to plot Grace language files?

EDIT The below output file as identified below in the comments (thank you) is in the Grace language for plotting. I was wondering if there are any packages capable of using the Grace language to ...