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

1
vote
0answers
46 views

how to use latex draw graphs, just like this?

Recently, I am using LaTex to draw graphs. However, I don't know how to do it. My graphs just like: How can I do it?
0
votes
1answer
312 views

Import code from LaTeXDraw to writeLaTeX

I am new to LaTeX. I am trying to write my master thesis using WriteLaTeX. I wanted to make some figures using LaTeXDraw. However, I want to import the code to my report and not the final picture. How ...
2
votes
0answers
49 views

Can anyone identify what package was used to create these simple math diagrams [on hold]

Put simply: does anyone know what package is used to create the following diagrams from Stephen Boyd's book on Convex Optimization (p.24):
5
votes
1answer
94 views

Mathematical formulas on a graph (not made by TeX) [duplicate]

Let us assume that we have a graph created by a program different from LaTeX (that is not with PStricks or Tikz). I was wandering if it is possible to incorporate mathematical symbols on that graph ...
0
votes
0answers
52 views

Draw Block Diagram and Flow Chart Diagram [on hold]

I am new to tex writing and not experiencing with drawing different diagrams. Tell me please that which packages I must use and how I can execute my code. Help me also with links, in which basic of ...
5
votes
1answer
105 views

Still some of the flows missing in the flowchart

I have posted this question few days back but still I can't complete the algortihm. This is the uncompleted work done so far \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} ...
2
votes
2answers
97 views

Draw block diagram with a switch

I'm trying to draw a simple block diagram that looks like this: schemabloc seems to be the package to use, but then again, it doesn't have the switch symbol that I need. circuitikz doesn't seem to ...
3
votes
1answer
34 views

flow chart page size issue

I have been doing this since from last month. I want to draw this flow chart using \documentclass[a4paper,11pt]{report} but if I use above configuration (which I want to use) the flow chart does ...
9
votes
1answer
278 views

How to more easily generate a normalized eigenvalue spectrum?

I'm trying to generate a normalized eigenvalue spectrum like this one: In the above example, the normalized eigenvalues are like the following: 0.8332 0.0433 0.0310 0.0152 0.0061 0.0047 0.0035 ...
2
votes
2answers
215 views

Multicolumn and graphics

If you try to comment what i have marked you will see the heading picture step one page back respect the title why? Here is the picture. The code is from this post. \documentclass[% ...
5
votes
0answers
47 views

Package for drawing cell decompositions/cell complexes/triangulations

Is there a package that helps to draw abstract gluings such as those used for cell complexes/triangulations in topology? (Tetrahedral triangulation of a sphere) (Torus)
4
votes
4answers
954 views

How can I draw a chessboard missing two diagonally opposite corner squares?

How can I draw of a mutilated chessboard, i.e. missing two diagonally opposed corner squares? Using the chessboard package, I can only draw a full chessboard...
3
votes
1answer
323 views

Commutative diagram using TeX Writer

I bought an ipad app TeX writer and I am wondering if I can draw a commutative diagram. It includes the packages amslatex revtex4-1 IEEEtran babel cyrillic graphicx color xcolr geometry algorithm2e ...
10
votes
4answers
259 views

Plot the cusp catastrophe surface

I'm trying to draw (plot) the Cusp catastrophe surface into latex using any software logic. I am completely stuck because I'm definitely not a mathematician. The surface has the potential: V(x) = ...
6
votes
1answer
192 views

Big vertices on my cube kill parallelism

I have coded the following diagram in xypic: \xymatrix{ & B \ar[rr] \ar'[d][dd]^(.45)\simeq && B\cup_A C \ar@{.>}[dd]^-\simeq \\ A \ar@{>->}[ru] \ar[rr] \ar[dd]_-\simeq ...
7
votes
3answers
167 views

drawing points coordinates in a graph

I need to draw points coordinates in a graph. In my case, the problem is that the values of the x-axis and y-axis of each point can be very large. That is why I need to edit the code below in order to ...
5
votes
4answers
307 views

Plot to illustrate linear regression

I am trying for teaching purpose to explain how basically linear regression might work and how it could be extended. Since I am not the TeXpert I fear that my idea might be tricky and more difficult ...
3
votes
1answer
122 views

How to use latex commands to draw a flowchart

I have to write a flow chart given by figure below I have used the packages, \usepackage{tikz} \usetikzlibrary{shapes,arrows} But I couldn't get what I want. I hope some LaTeX experts here can ...
12
votes
2answers
336 views

How to draw spherical triangles?

Does anyone know how to draw spherical arcs and spherical triangles using LaTeX?
1
vote
1answer
104 views

Tikz diagram: subnodes

I am trying to draw this diagram using tikz, but I am just a begginer and cant find out how to draw small nodes in those bigger. Anybody experienced in this? Text in image are not important, only ...
0
votes
0answers
41 views

Problem: Sidewaysfigure automatically start a new page [duplicate]

Basically, I have a blank page, I inserted the subsection title and underneath I want to add a sideways figure. \subsection{Findings} \begin{sidewaysfigure} \centering \includegraphics[scale = ...
4
votes
6answers
180 views

Drawing ellipses with pict2e or the like

\usepackage{pict2e} \usepackage{pstricks-add} \usepackage{pst-node,pst-plot} \psset{plotpoints=9,unit=3} Somehow, acting on various people's advice, I've put the above lines of code above my ...
4
votes
1answer
197 views

Plotting 3D graphs in specified axial direction in tikz

I am a complete tikz noob and just taking snippets of examples to draw my first diagram. To get my head around orientations I am starting with the polarizing microscope example ...
36
votes
12answers
3k views

Drawing a Reuleaux Triangle

A Reuleaux triangle is a shape of constant width sort of like a rounded equilateral triangle. (Reuleaux triangle - Wikipedia, the free encyclopedia) It can be formed by the intersection of three ...
6
votes
3answers
176 views

Matrix decomposition dimensions diagram

What's the easiest way of making diagrams depicting matrix dimensions such as the following? I can do it with simple subscripts, but I like the visual effect that these diagrams give.
6
votes
1answer
87 views

Tikz diagram: nodes with arrows

I am trying to draw this diagram using tikz, but I am only beginner and have some problems mainly with drawing arrows in this way. I also want nodes with round corners. Anybody can help me?
67
votes
3answers
3k views

How to draw a Sankey Diagram using TikZ

I would like to draw something similar to this (not exactly): using TikZ. Ideally I would be able to set the width by variables and rejoin two flows into one again. Is there a good way to do this? ...
2
votes
1answer
74 views

How do I make an unbalanced binary tree that branches off to the right?

An image of what I want: For those who are interested: This particular figure is taken from this article (I couldn't find a freely available version) and shows k-buckets (the squares) covering an ...
0
votes
0answers
38 views

Reconstructing this website's banner / heading?

I'd sometimes like to generate some desktop wallpapers; in particular, I'd like a design like this website's banner (bg-graph-top.png): Grayish vibe Bit of mathish 2D lines/surfaces Some fleuron art ...
10
votes
4answers
2k views

Drawing arrow heads without the tails in TikZ?

I have an ellipse in a TikZ diagram and I would like to indicate a direction using an arrow head, but do not wish to draw the path leading up to the arrow head. I currently have \draw[->] (0,2) ...
0
votes
2answers
50 views

Missing elements in picture

\begin{figure}[h!] \centering \setlength{\unitlength}{0.1\textwidth} \begin{picture}(5,5) \put(4.17,3.5){$x$} \includegraphics[height=0.4\textwidth]{rys} \end{picture} \end{figure} ...
6
votes
2answers
184 views

Line shown behind filled rectangle made with TikZ

I need to create a TikZ style that is a filled rectangle with a line crossing it. The problem I'm facing now is that when the rectangle is filled with a color, then the line is drawn behind the ...
3
votes
2answers
113 views

Strings and Harps to be drawn

I'd like to draw a picture similar to the hand-drawn one below: With labels $0$, $1$, $\Psi_{L,S}$, $a_1$, $\ell_i + 2\varepsilon$, $\Psi_{L,H}$, $b_1$, $-\varepsilon$, $1 + \varepsilon$, ...
2
votes
1answer
102 views

Control System diagram

I found an example of a control system with TikZ in http://www.texample.net/tikz/examples/control-system-principles/ . I wanted to adapt this example by removing the measurements node and keeping only ...
8
votes
2answers
286 views

Venn diagrams for fuzzy logic

I've seen a lot of code samples for producing Venn diagrams. I'm looking for a way to draw similar but different diagrams related to fuzzy logic (see the second row in the screenshot below). How could ...
1
vote
3answers
58 views

How to do group of this equations?

Here (P1) denotes problem 1 and (P2) denotes problem 2. (D1) and (D2) denotes their relaxations. I want to pose the question whether the relaxations may or may not be equal. I am familiar with writing ...
7
votes
6answers
948 views

Drawing Cantor Set

I am trying to draw a cantor set in LaTeX and I am having issues doing this. I am trying multiple \put commands, but they just go to the right of one another. Does anyone know how to do this? Any ...
269
votes
46answers
70k views

Nice scientific pictures show off

Task Show off your best scientific illustration ! The main purpose of this question is to share beautiful scientific pictures, preferably with an educational aspect. Content Your post must ...
28
votes
5answers
2k views

How to produce a list of prime numbers in LaTeX

I would like to write a LaTeX script that produces all the prime numbers between the numbers n and m, where n < m. How can I do this? I feel it shoud not be that hard, but I cannot seem to program ...
3
votes
2answers
151 views

Hexagon composed of equilateral triangles

Here's a nifty question! I would like to create a similar diagram to the one below, but I do not have the slightest clue how. Latex is all very new to me but I have managed to use Tikz to scribe ...
2
votes
2answers
119 views

addplot3 [area plot] filling the wrong area

using some saved data, i use (The data file cane be download from pX.txt where the first column is the x and at each iteration, I plot the other columns with respect to the first column) ...
5
votes
2answers
104 views

Tikz: How to display properly some linked nodes?

I have created the following diagram using Tikz, is there anyway to show it properly? (As it is, it is shown with all the nodes below the last one, so it is a mess) \documentclass{article} ...
5
votes
1answer
231 views

Drawing torus points and arches with coordinates read from a file

I have a quite intricate question... I have to plot a torus of radii (r,R) with two set of points of different colour on it its surface. The points' coordinates are in two different files that must be ...
3
votes
0answers
113 views

Draw a tRNA diagram

I am new to TeX. I want to draw a figure with many tRNA secondary structure Which packages to use to draw the tRNA itself? Are there any guides or tutorials?
1
vote
0answers
83 views

Drawing back to back stem and leaf diagrams? [closed]

I have drawn a back to back steam and leaf diagram but it looks messy. Is there a code I can use which would make it look professional?
5
votes
1answer
128 views

Three loop diagram

I want to make a three loop diagram such as the one on the left. I use the following script \fmfleft{i}\fmfright{o} \fmf{boson}{i,v1}\fmf{boson}{v2,o} ...
6
votes
3answers
515 views

Draw a trapeze in left corner of the page

I want to do draw a trapeze in position in the left corner of the page (as shown on the picture below). How can I do that?
4
votes
3answers
149 views

specific Box Diagram with multiple arrows

I never did a box diagram before. I tried to build this diagram, but couldn't find a solution for these kind of arrows: Could someone tell me, how to perform this? Thank you in advance. \tikzset{ ...
3
votes
1answer
86 views

visualize parallel operations

I have a small dataset of operations which I want to display. The operations each have a name, a start time and an end time (in milliseconds). For example: Operation 1: 0 to 3000 Operation ...
1
vote
2answers
97 views

tikz-cd package on MacTex

I just updated by TeXShop using TeX Live utility yesterday, but I still get this error. All I am doing is the standard routine \[\begin{tikzcd} 0 \arrow[hookrightarrow]{r} & ...