Questions tagged [graphs]
Graphs are (1) graphs of functions or (2) sets of nodes and edges.
1,169
questions
1
vote
1
answer
34
views
How to slant the edges in the given graph?
I am unable to draw the following graph in tikz.
I tried the following code in tikz but it is not producing the desired output. Can someone please help me out.
\begin{figure}
\centering
...
1
vote
1
answer
77
views
Reproducing the lichess opening tree stat bar
Can LaTeX offer something like this or the like shapes with same info?
1
vote
1
answer
82
views
Cell diagrams of projective resolutions
A really nice way to visualize resolutions of modules over small algebras is through cell diagrams. These are really useful, for instance, in algebraic topology, when one wants to compute Ext over a ...
0
votes
0
answers
27
views
Using TikZ to Plot the Fourier Transform with Magnitude and Argument Coloring
I would like to use TikZ to draw the function graph of the Fourier transform
πΉ(π) of π^π‘ sin(π‘)π’(π‘). The x-axis represents π, the y-axis represents the magnitude of πΉ(π), and different ...
1
vote
1
answer
42
views
Connecting two trees with a line, with tikz
I have two trees one next to the other. Some of the nodes should be connected. The code for connection nodes is breaking compilation, and I don't get any lines connecting the nodes between the trees.
\...
7
votes
1
answer
294
views
LaTeX (on overleaf) keeps cutting off my polynomial plots
Here is the preamble and the code for the graph:
\documentclass[12pt]{article}
\usepackage{graphicx} % Required for inserting images
\usepackage{pgfplots}
\usepackage{amsmath}
\usepackage{enumerate}
\...
2
votes
0
answers
36
views
Latex errors when the number of nodes of a graph is more than 26!
I do not need any counter, I am just trying to draw a graph with 35 nodes. However, it gives the following errors: counter too large! and missing \endcsname inserted!
The problem, I guess, is ...
2
votes
1
answer
56
views
TikZ label at wrong path
I want to create an overview of definitions/theorems using a graph.
As you can see the "Def" and "Thm 38" labels from (b) to (a) are not on the path. How can I fix this. Any other ...
4
votes
2
answers
65
views
Control positioning of Tikz label of an edge
Here's my code:
\usepackage{tikz}
\usetikzlibrary{automata, positioning, arrows}
\tikzset{
->, % makes the edges directed
>=stealth, % makes the arrow heads bold
node distance=3cm, % specifies ...
2
votes
2
answers
77
views
Tikzpicture Multi-Edge
I want to create a multigraph. It's correct so far, but I want to have 3 edges from A to the same node B.
This is my latex code:
\begin{tikzpicture}[level distance=1.5cm,
level 1/.style={sibling ...
1
vote
1
answer
61
views
Fine tuning: TikZ, pgfplots and Lennard-Jones potential
I'm trying to recreate a faithful copy of the graph shown here.
I'm trying and trying again, but I would like to make the curve tend to infinity more quickly for x=0 and tend to 0 more quickly for x=...
0
votes
2
answers
36
views
Plot the graph with labels
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title={Effect of Positive Checks on Population},
xlabel={Time},
ylabel={...
2
votes
2
answers
251
views
Is it possible to reduce the number of loops?
Below is a graph I drew using TikZ, which achieves the purpose. However, I feel that my code is still not concise enough because it uses four for-loops. Is there a more concise method?
\documentclass{...
5
votes
2
answers
482
views
Calling TikZ code (speedometer) several time to plot the same graph multiple time
I wonder if there is a way to encapsulate the following tikz code in a function so that I can repeat that diagram several times on the same page. I wanted to be able to redraw the following chart ...
2
votes
1
answer
123
views
Drawing surfaces with TikZ
As a complete TikZ novice, I want to create surfaces like the following handdrawn one with TikZ:
Ideally, this should be coded bottom-up: First you draw the bident with xy-plane at height 0. Then you ...