{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.

learn more… | top users | synonyms (1)

4
votes
1answer
74 views

Help with further TeXing

I wanted to recreate a diagram in LaTeX, so I did my best and created something with matrices. I am really content, but I still don't have the arrows with 'reële nulpunten' and 'complexe nulpunten' ...
3
votes
1answer
93 views

How do I use piechartmp to make pie charts with Metapost?

This is my MetaPost input file: prologues := 3 ; outputformat := "%j-%c.eps" ; input piechartmp; beginfig(1); SetupColors((0.7, 0.7), this, this) ; SetupPercent(this, "%") ; Segment(64, ...
0
votes
0answers
64 views

Unable to insert PNG file

I'm trying to insert an imagine into my text document. What I've got so far is: \graphicspath{C:/Users/James/Documents/LaTeX} \begin{figure}[p] \includegraphics{Coil} \end{figure} But I can't ...
0
votes
1answer
59 views

What would be a good way to make a TikZ picture composed of lines, dots and cones?

I want to make a diagram like this: It features lines, dots and 3D cones. I'd also like it to feature a little "explosion" icon and text labels. I have seen some examples of how to make 3D cones ...
2
votes
1answer
41 views

Converting pictex to eps

I have a very old pictex code which I used more than 20 years ago with plain tex. Is there a sensible way to convert it to vector graphics (eps)? EDIT: the sample code \input pictex $$ ...
2
votes
2answers
204 views

How to make curved springs (coils) in tikz, for a mechanics problem

Is there anyway using say tikz (preferred, or pstricks would be OK too) to make curved coils? Essentially I want to make beads on a circular wire that are joined by springs. Here are the images I ...
2
votes
2answers
130 views

Square Edge and Horizontal Tree Diagramm with forest

I am basically trying to re-create the Aves Cladogram as illustrated in this wikipedia page. After trying to use Newicktree package for a while, I decided to migrate to forest. I am trying to make ...
2
votes
2answers
163 views

Draw a lightning bolt between two given points in tikz?

I need to draw a lightning bolt which starts at a point and its sharp edge ending at another point. For instance, let me define the points \documentclass[tikz,border=5mm]{standalone} ...
3
votes
1answer
183 views

How can I draw an empty plot?

How can I draw an empty plot, so I can print it and draw the input manually? I just want the X and Y axes. I want a time on the X-axis (07:00-22:00) and an Integer (0-10) on the Y-axis, but all I ...
4
votes
1answer
112 views

Problem with vectors (tikz)

I have to draw these vectors, with the grid and also a grid (like the picture). I've searched online but I can't solve my problem. Can you help me? \documentclass[a4paper]{minimal} ...
2
votes
1answer
90 views

Feynman diagrams with feynarts

I'm trying to draw Feynman diagrams with the feynarts.sty package for LaTex. The problem is that if I write the following code: \begin{feynartspicture}(150,150)(1,1) \FADiagram{} ...
6
votes
2answers
160 views

TikZ: drawing balancing diagrams like SolveMe Mobiles

I want to draw a diagram like this: In general, the diagrams in SolveMe Mobiles (section Play) I suppose I can do with raw code, but I want to do with custom command like: "make horizontal line", ...
1
vote
2answers
133 views

creating diagrams with dots and connections in TikZ

I'm a newcomer to TikZ, but figure it's the easiest way to draw and include several of the following diagrams below in LaTeX. What code will generate the above diagrams? (Obviously not the text or ...
3
votes
1answer
59 views

Tex Add nodestyle

Is it possible to use different node styles with my "syntax" of defining the nodes (using [. ]). \documentclass[landscape]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
1
vote
1answer
36 views

I want the text to continue right after the second figure

I am writing an organic lab report, and latex is preventing me from writing my results section right after my second figure. Instead, it starts the results section on the next page. Also, I would ...
5
votes
1answer
108 views

Adding elements on the surfaces of a cubic diagram

Thanks to this answer here; I can draw a nice cubic diagram as bellow: with the following code: \documentclass{standalone} \usepackage{tikz-cd} \begin{document} \begin{tikzcd}[ row ...
3
votes
1answer
131 views

Pretty printing DTDs (Document Type Declaration)

I want to include a didactic, compact view of a DTD (Document Type Declaration) in my texts. DTDs are used to define the set of tags and attributes of a XML/SGML document -- some sort of a grammar of ...
5
votes
1answer
264 views

Drawing Markov Decision Processes with Tikz

I thought this would be much easier. I am trying to recreate the standard MDP graph that is basically the same as a Markov Chain (I know a lot of posts about that) but with the addition of lines that ...
3
votes
1answer
89 views

The diagram in ConTeXt remains invisible

I found nice examples of Metapost, http://tex.loria.fr/prod-graph/zoonekynd/metapost/metapost.html. When I use the example number 270, the pdf only contains a page number. Question: what I am doing ...
-1
votes
1answer
53 views

It is necessary to construct a vector diagram when a known angle relative to the horizontal axis and the length of the vector

Willing to construct a phasor diagram which consists of 2 vectors and one vector sum. An example is shown below.
1
vote
0answers
213 views

Want to Draw basic geometric figures in Latex

I have been learning latex for few month. In-fact beginners in latex. I want to draw some geometry figures for (examples given below) in latex. I came to know that it is possible by Tikz , pstricks ...
2
votes
1answer
100 views

Draw a curve in TikZ with hairs growing on one side

I would like to be able to draw tikz pictures that generalize the following one: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0) to (1,0); \foreach \n ...
2
votes
1answer
130 views

3D view of 2D scatterplot

I have a scatter plot but I want to make a 3D plot where the points will be still in the XY plane but there will be a line over every point which will have different values for different (x,y) point. ...
-1
votes
1answer
153 views

Creating branch-and-bound

I want to create a graph like the one I give below! I think I should use forest package but it does not allow me (or I could not do it) to put explanations near each branch, like "solve as continuous ...
3
votes
1answer
85 views

Modify nodes near coords with \if

I would like to code something like this: if \thecitation is {This work} then nodes near coords={\thenumber{} [This work]} and plot color is Red else nodes near coords={\thenumber{} ...
3
votes
4answers
274 views

minimal looking chapter dependency wheel

I want to generate a very simple looking chapter dependency figure, something like the image below. Could someone point me in the right direction of how to do thism or what package generated this oen ...
2
votes
1answer
112 views

How to make non nested diagram in LaTeX

I am trying to draw a diagram in LaTeX but there is a problem which is I needed to made many lines to go to a specific output (Result), but they do a nested output.. look at the diagram that I have ...
2
votes
1answer
78 views

Picture environment and the \circle*'s diameter greater than 5

I've been reading this tutorial on wikibooks. They've shown a way to create the disks: \setlength{\unitlength}{1mm} \begin{picture}(60, 40) \put(15,10){\circle*{1}} \put(20,10){\circle*{2}} ...
5
votes
2answers
230 views

Tikz: Finding the middle of a line (relative positioning)

I started to draw some simple points and curves in a tikzpicture. But I am not sure if it's the best idea to use specific coordinates anymore. In this case I have to make up some linear function as ...
3
votes
0answers
302 views

Creating a timeline

I am working on my thesis and need to create a timeline similar to this: I tried Chronosys package but am not sure if this is a good choice. \documentclass{article} \usepackage{chronosys} ...
5
votes
3answers
158 views

How can I create vertical bars showing a field extension?

Specifically, I would like to create something like this:
0
votes
2answers
270 views

What is the closest solution to Microsoft Visio with Latex text?

I'd like to have a program where I can model diagrams like in Microsoft Visio and write math formulas in Latex on it. It would be nice to see the rendered formulas (which can be edited in some way, ...
3
votes
1answer
168 views

How to: Lorenz curve (TikZ)

I would like to draw several Lorenz curves. I don't have concrete data point but have to illustrate in each case some general aspect of the concept. Compare e.g. Lorenz crossing: It's not that ...
2
votes
1answer
42 views

htlatex crops too much for picture environment

I use htlatex to convert a large latex file to html pages. All works with one exception. Anything drawn in the picture environment gets cropped. I have isolated the problem in the code example below. ...
5
votes
2answers
127 views

Create tangent lines at set intervals along rotated ellipse

I'm trying to draw tangent lines to a rotated ellipse at a small interval, but I'm not sure what the best way to do this. I could just get the slopes from Wolfram Alpha, but I'd rather not hardcode ...
0
votes
0answers
96 views

Which package can I use to draw this diagram?

I wan to draw this digram below with latex which package can I use to draw it? ]1
1
vote
1answer
87 views

Query regarding Graphics by latex

Hi I am beginner in Latex, my question is that, Is it possible to draw figures given in file by using latex?
3
votes
1answer
228 views

Beginning a Simple Latex Diagram with Squares and Arrows

I'm not sure if this is an acceptable kind of question, but figured I'd give it a shot. I'm trying to replicate a basic diagram using LaTeX (as this one is bad quality), but I'm having trouble ...
1
vote
0answers
96 views

Plumbing Diagrams in Latex

How do I make a diagram like this: using latex?
2
votes
1answer
62 views

Display a lot of variables in a 2D Diagram

I have a table with values like this: --------------------------------- | Function | Dimension | Result | --------------------------------- | 1 | 1 | 15% | ...
5
votes
3answers
722 views

Smart Art flow diagram?

How to make a horizontal flow diagram in latex like: If posible i would like some colors in it. Thank you
4
votes
4answers
204 views

How to draw this region

Any idea how to draw this using Latex. Having difficulties with the shaded region. \begin{figure}[h] \begin{tikzpicture} \tkzInit[xmax=6,ymax=6,xmin=-6,ymin=-6] \tkzAxeXY \draw[ ...
4
votes
2answers
110 views

Adjust the distance between one pair of blocks in block diagram

I want to move only the second block near to the third block so that variables between first and second block are clearly seen. Other parts of block diagram should be kept the same. I have attached ...
30
votes
2answers
613 views

drawing patterns based on prime factorization

can someone help me generate code to type the diagram for any given natural number based on its prime factorization such as these diagrams consider the next number 36 and its prime factorization, ...
1
vote
1answer
67 views

Question marks when I use rail package

I'm trying to compile syntax diagrams with the rail package, but all diagrams, no matter how large, come out like the following screenshot, a single rounded box with three question marks in it. ...
2
votes
1answer
103 views

How may I put labels on the corners/vertices of a cube?

I have a cube as per the answer to my question How may I put arrows along some edges of a cube?. Now I want to label the 8 corners/vertices with labels like $\mathbf{O}\lnot \lmathbf{B}\lnot q$.How ...
1
vote
1answer
57 views

How may I put arrows along some edges of a cube?

I want to put some arrows along some edges of a cube such as in the answer I accepted for the following question: How may I color four sides of a cube?. How can this best be done? Here are the arrows ...
2
votes
0answers
98 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 ...
4
votes
3answers
401 views

Draw uniform lines/grid on a distorted square/axes?

I want to draw a square discretised by equally spaced lines. However, if I move one of the nodes, say node 4, the grid lines will keep it's relative spacing (see the image). I have no idea what to ...
0
votes
2answers
155 views

How may I color four sides of a cube?

I want to color four sides of a cube for an illustration. Let the corners of the cube be designated by the eight Cartesian coordinates $(0,0,0)$, $(0,0,1)$, $(0,1,0)$, $(0,1,1)$, $(1,0,0)$, $(1,0,1)$, ...