Questions tagged [diagrams]

{diagrams} is for general questions about vector graphics created programmatically inside a (La)TeX document. For questions about specific packages, use the appropriate tag, e.g. {tikz-pgf} or {pstricks}. For questions about inclusion of external graphic files, use {graphics} instead.

62 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
95 views

Kinematics CAD package for LaTeX

Do any good libraries exist for drawing kinematics diagram in LaTeX. I am looking for something similar to the following image.
4
votes
0answers
318 views

Braids diagrams and quantum groups

I need to include some graphical proofs of quantum groups theorem, looking like the one below: It's very similar to the braids package, but I also need to include operators, like the S in the circle. ...
3
votes
0answers
128 views

Error using tikzexternalize when placing an image on the verso page

I am preparing a thesis in the same manner as detailed in this question. Namely, I am looking to write a thesis with the text appearing on the right (odd) page, and images appearing on the left (even)...
3
votes
0answers
260 views

Word Cloud - Searchable (no images) for research keywords

I am trying to create a word cloud with LaTex for my research keywords. I would like to make it searchable (thus not an image) and to make sure that LaTex does not divide my research keywords (which ...
2
votes
0answers
58 views

Diagram making for latex organizational strength

I want to make such a kind of diagram for my thesis. Can someone help me to make one like this? I am not able to find any template like this anywhere.
2
votes
0answers
132 views

Plotting errors bars with “plot” without using axis environment from pgfplots

In the axis environment of the pgfplots package there is a simple way to add error bars: \documentclass{minimal} \usepackage{filecontents,pgfplots,tikz} \usetikzlibrary{plotmarks} \begin{...
2
votes
0answers
215 views

World Cup wall chart in LaTeX

Calling all LaTeX & football fans! The FIFA World Cup is fast approaching and I've been trying to make a wall chart for the tournament in LaTeX. This is what I've managed to create so far: My ...
2
votes
0answers
118 views

TiKzpicture wont move into enumeration

Just started learning TeX and got a small project to work on. I'm using the varcompactitem enviroment to enumerate a few lines and want to make sure there's a tikzpicture inside the first or at least ...
2
votes
1answer
158 views

Edges do not appear using gastex and drawedge

I have a mysterious edge disappearance with the following code (using package gastex, that itself uses ps and auto-pst-pdf): \begin{center} \unitlength=4pt \begin{picture}(16,19)(0,-3)\nullfont \...
2
votes
0answers
345 views

Are there packages to plot space group diagrams

Space group diagrams are used in crystallography for visual representation of symmetries a particular crystal has. These diagrams include a great deal of specific symbols that I'm not keen on ...
2
votes
0answers
235 views

Drawing 3D surfaces with triangles (to show curvature effects)

I'm looking for a way to draw 3D surfaces in LaTeX with triangles on them to show the sum of angles being >, =, or < 180 degrees, exactly as in this photo (source: space.com) . I'd just like to ...
2
votes
0answers
250 views

How to plot a function without functional equation (mu-sigma-space/portfoliotheory)

I was wondering if there is a easy way (some native function) for interpolation of points, i.e. to connect some few given points by a curve (approximation of a function). I have some concrete formulas ...
1
vote
0answers
30 views

Add square at the beginning of neural network, using neuralnetwork package

I am trying to draw a neural network like following, but I want to draw a square at the beginning, to be specific: My neural Network: \begin{figure}[h] \centering \label{fig:...
1
vote
0answers
63 views

Translate PSTricks to Tikz?

For my thesis I am using DIA for drawing little graphs or images. After this I use the export function which create a .tex file with PSTricks syntax inside. Compiling this in my maindocument seems ...
1
vote
0answers
49 views

tikz: put figure (no graphic) inside axis environment

Is it possible put a code-made figure (not loaded externally) inside an axis environment? In barely words, a code-made figure in place of a "ordinary" plot. In this code, there is what I would like to:...
1
vote
0answers
33 views

Error with drawing a Feynman Diagramm using axodraw4j package

I am trying to draw a simple Feynman diagram but it does not get drawn correctly. When I compile it puts, the momentum labels without drawing the lines. Here is my code: \documentclass[12pt,twoside]{...
1
vote
0answers
23 views

Enlarge y-axis, then shrinking it again

I have this .tex \documentclass[12pt,margin=2mm]{standalone} \usepackage{pgfplots} \usetikzlibrary{calc} \pgfplotsset{compat=1.16} \usepackage{filecontents} \begin{filecontents}{amm.csv} year,aabach,...
1
vote
0answers
64 views

PGFplots - Imitate minimalistic style

The style of plots, as shown in the example of a thesis I saw, can be found in literature of topics ranging from mechanical engineering to physics. I am primarily interested to know if this is a ...
1
vote
0answers
85 views

diagrams.sty can't draw \ruTo(4,2)

I ran into a problem of drawing an arrow \ruTo(4,2). The following example didn't draw the diagonal arrow, as in However, it works well for \rdTo(4,2) and \ruTo(2,2), as in and I'm really ...
1
vote
0answers
75 views

Make Asymptote read YAML or JSON files

I often write my data-files from simulations written in Python or C++ in json on yaml files. I recently heard about the asymptote software which can be used for really 2d and 3d plotting. Is it ...
1
vote
0answers
66 views

Brownian Motion in 2D space, adding drift and a second motion

So I found this code from these forums: \documentclass{article} \usepackage{randomwalk} \begin{document} \framebox{\RandomWalk {number = 300, length = 2pt, angles = {0,10,20,50,-10,-20,-50}, degree, ...
1
vote
0answers
372 views

Jaxodraw LaTex export is not generating any figure after compilation

I am using jaxodraw for drawing Feynman diagrams. My problem is that once I run pdflatex in a file with the code exported by jaxodraw, I only got the labels and no diagram. I saw a similar problem ...
1
vote
0answers
103 views

Creating Brownian Motion graph and labeling dW

I've found code to create the Brownian motion graph - \newcommand{\Emmett}[5]{% points, advance, rand factor, options, end label \draw[#4] (0,0) \foreach \x in {1,...,#1} { -- ++(#2,rand*#3) } ...
1
vote
0answers
127 views

Reference diagram from bibtex entries

When tracing article reference it is useful to create a diagram than show when an article reference another article. Does latex/bibtex support creation of such diagrams? It will also be handy if the ...
1
vote
0answers
119 views

Putting a diagram at the top/bottom in the two column document

I am trying to put a graph on top or bottom of the page with text. However when i use the code found on this website: \begin{figure*}[!b] \centering {\includegraphics[width=0.9\linewidth]{Graph-for-...
1
vote
0answers
90 views

Mistake in importing eps picture, cut picture

I import several eps file into my LaTeX code and after the compilation one of them seems to bu cut on the left and upper side. The rest of figures is OK. It is the fisrt time I see something simillar. ...
1
vote
0answers
76 views

Diagram: I wanna change the color of a cell depending on the value from coordinate point

Hello I am from Germany sorry for my English. Here is my Question: I want to create a diagram. I have a table with certain points. Every point has a specific value. Only one point can be in a cell. ...
1
vote
0answers
79 views

Issue with graphics and multicol

For my paper I'm using multicols{2} and i assume that this gives me some issue with including graphics. I use the following commands: \documentclass[12pt,twoside,a4paper,notitlepage]{article} \...
1
vote
0answers
165 views

How should I label the differentials (arrows) in sseq for a spectral sequence?

I'm trying to typeset a spectral sequence using the sseq package, which provides a way to place objects on a grid and draw arrows between them. I'd like to put labels on the arrows, as one can do with ...
1
vote
0answers
613 views

Is it possible to draw figures like these?

Is it possible to draw figures like these or is better to just paste it? If it is, what are the best tools or good examples to do it? Example: \draw, \node. Using TikZ is being my work until now: \...
1
vote
0answers
124 views

Wrong pdf output size

I'm trying to create an image (.pdf) that should be filled with black and white thick lines. The code I'm using is working pretty good except for the fact that the matrix output size is not correct ...
1
vote
0answers
256 views

Picture format eps for LaTeX

I would like to create pictures in (.eps) format in order to use it with LaTeX, but I do not know which software can be used to create picture in (.eps) format.
1
vote
0answers
425 views

How to force LyX to convert a GraphViz file into a vector format

In the "Converters" section in LyX preferences, I have the two following converters automatically defined for GraphViz: Graphviz Dot -> PNG Graphviz Dot -> EPS When I export my document as PDF, the ...
1
vote
0answers
58 views

media9 and remote web image

Hi guys I need to put a remote image on a pdf. Such that if the remote picture changes then also the pdf when opened changes its content. I am trying to use media9 package but I am getting nowhere. ...
1
vote
0answers
56 views

Lines in epsfig have corners

I have a problem with epsfig. I want to draw some graphs. I created the picture with xfig and got the following code: \setlength{\unitlength}{4144sp}% % \begingroup\makeatletter\ifx\SetFigFont\...
1
vote
0answers
73 views

One page caption one page picture

I'm searching for a way to create a book of figures as next: left pages contains captions of the images in right pages | caption || image | and if two images are in one page at right, I want ...
0
votes
0answers
35 views

Tikz and/or PGF: Basic collision avoidance with multipart shape nodes and nodes anchored/pinned to nodeparts?

I'm trying to create a tikzpicture that contains something like what is in the following sketch. I've tried numerous ways to use custom nodes within a graph drawing-driven layout, but even when "...
0
votes
0answers
24 views

iOS drawing app for sketching latex pictures?

the latex picture environment has a nice small set of drawing primitives, and the iPad has a nice writing pen. I am not an iOS programmer, but the latex primitive should be relatively easy to ...
0
votes
0answers
80 views

What's the best way to represent logic gates?

So, I'm working on a diagram representing a path but I can't quite get in logic gate symbols, and I don't just want to mark them with points and labels. What's the best way to do this?
0
votes
0answers
51 views

Cumulative bar graph with tikz

I've got some bar graphs that look a bit like this: Wondering if it's possible to make them look like this below (I've been calling it a cumulative bar graph, but now that i think about it, perhaps ...
0
votes
1answer
55 views

How can I fit a picture in LaTeX (regarding to being center and also fit height and its width)?

I try to put my picture in a page, my picture is a little bit large. I try this way, it does not give me the best answer, some part of the image is cut. I also try [width=\0.5] or [scale=\0.6] or many ...
0
votes
0answers
14 views

What is wrong with that code in picture environment? It does not show of the lines, just the labels

\setlength{\unitlength}{0.25mm} \begin{picture}(400,140) \put(50,20){\begin{picture}(100,100) \Thicklines \path(0,0)(100,0) \path(90,-5)(100,0)(90,5) \path(0,0)(0,100) \path(-5,90)(0,100)(5,90) \...
0
votes
0answers
36 views

How to draw a two-way branching Hasse diagram with Tikz?

I wanted to draw Hasse diagrams with Tikz. I've managed to draw a upside down tree, but I want to add two branchings under the root node. How could I do that? \begin{tikzpicture}[grow'=up] \Tree [....
0
votes
0answers
28 views

Placing frame on top of frames, using XY matrix

I'd like to add a diagram to a writeup, emphasizing something is in common to two (distinct) things. How could a diagram as follow be typeset using xy-pic? Alternatives also welcomed.
0
votes
0answers
35 views

Package for drawing control system diagrams with symbol of frequency response functions inside the boxes

I am looking for a way to produce control system diagrams with symbols stating the kind of the unit inside the boxes instead of a function. Something like this (notice the symbol for the integrating ...
0
votes
0answers
47 views

Including Function Plots in a thesis

I am currently writing on thesis, where I plan to include quite a few function plots. The functions I am talking about are mostly polynomial functions (domain and range are real numbers). However, I ...
0
votes
0answers
36 views

Type overlapping math expressions without errors/warnings in overleaf

I was wondering if anyone knows if there's a way to write math expressions (formulas, integrals, sums, limits, equations, etc) and have them overlap and be written slanted or upside-down or other ways....
0
votes
0answers
77 views

Unable to Draw Feynman Diagram in Beamer Presentation

I'm using the following code to draw. I compiled using LuaLaTeX and it didn't show any errors, but in the PDF generated no diagram is being shown. Can someone help me out? I have to compile via ...
0
votes
0answers
52 views

Can we make transparent color from white background of *.eps file as figure?

I want to make transparent background in my .eps file. In the slide showing picture with white background. Anyone know how to make the white background change into transparent background in *.eps file?...
0
votes
0answers
26 views

how do I include PostScript grafic in A3 format?

I'm trying to includecaltab.ps to my document with the following code : \documentclass{article} \usepackage[margin=3cm,a3paper,landscape]{geometry} \usepackage{amsmath,amsthm} \usepackage{amsfonts} ...