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

3
votes
1answer
584 views

parallel arrows in pb-diagram

It is possible to get two parallel maps (one pointing to the left, the other to the right) between two nodes using pb-diagram? I know it can be done with TikZ, and maybe with some other package, but I ...
14
votes
1answer
20k views

Online LaTeX diagram graphical editor

Is there an online tool that generates the corresponding LaTeX code of a diagram which can be drawn using a graphical interface? A tool such as latexdraw but only using a web browser (like Detexify)?
2
votes
3answers
466 views

programs for creating diagrams

Does anybody know of some programs I can use to make diagrams that look like the following I would use the above diagram directly, however due to copyright issues, this is not an option for me. ...
6
votes
2answers
575 views

Create a table for an athletic knockout event

I have used LaTeX for fairly large documents in the past but not for diagrams. I would like to create a table describing a knockout athletic event, for instance like the one found here in HTML. How ...
8
votes
2answers
652 views

Pretty lists for sorting algorithms

I would like to obtain easily something like in this picture so as to illustrate several sorting algorithms. To produce one line, I would like to use one command of the following kind where the ...
3
votes
1answer
148 views

TeX, free floating, anchors

I want to achieve the following: I want a single page to consist of N "regions." Each region has a x-start, y-start, and a \hbox (denoting the contents of the region). Furthermore, for each region, ...
2
votes
1answer
2k views

Drawing membership functions and fuzzy sets with LaTeX

How can I visualize in LaTeX Fuzzy Logic diagrams such as the following picture? Also how I can visualize sets? Is the better way to show Fuzzy diagrams as an image?
9
votes
1answer
2k views

Create a ring diagram in TeX

To make it short, I am searching for a 2D variant of this plot How to design a 3D donut pie chart with pgf-plot? Especially the label for each segment are important for my application. I don't need ...
0
votes
2answers
261 views

How to print part of .tex code to pdf

My friends send me this .tex code, but it is only part of the code. I need your help to edit this code into a full document, because when I insert this code to TeXworks it does not compile into a pdf ...
6
votes
1answer
444 views

Pictures from Inkscapes pdf+LaTeX export positioned wrong in nodes

Sometimes I use Inkscape to add some graphical elements and text to my pictures. Inkscape allows to export this as pdf+LaTeX, where the pdf contains the picture and all graphical elements and the ...
4
votes
2answers
644 views

Draw two rectangles, one on top of the other, with an angle between them

I'd like to make two rectangles on top of each other with an angle between them, and I'd like them both to have 4 or 5 vertical lines running down them, and a highlighted point where two of them ...
3
votes
1answer
811 views

Overlapping tikz nodes with background fadings

Following the first tutorial in the TikZ manual, I tend to take steps to improve the legibility of tick labels when placed over gridlines. I prefer to use a fading rather than a plain white rectangle. ...
12
votes
1answer
2k views

How to draw a 3d curved manifold in tikz

I'm trying to draw something like this: How would I go about it in tikZ? For example, how do I draw the curved gray manifold?
6
votes
1answer
663 views

How to show the “commutate” symbol inside a diagram in LyX?

I am using this code $$ \xymatrix{ z\in\ar@{|->}[d] & \mathbb{C}\ar[r]^{f}\ar[d] & \overline{\mathbb{C}}\\ {}[z]\in & \mathbb{C}/L\ar[ru]_{\hat{f}} } $$ to generate this ...
4
votes
2answers
379 views

Sourcecode on the left, Nassi–Shneiderman on the right (float?)

I’d like to place a Nassi-Schneiderman diagram into my LaTeX document but also to have the source code for the shown algorithm beside it. Drawing the diagram worked just fine using the StrukTeXpackage,...
6
votes
1answer
264 views

How do I realize an arrow representing “line numbers” in LyX?

I want to draw an arrow, who shall represent line numbers like in the following screenshot. I struggeled with xymatrix, but this doesn't seem to be the right approach. Any ideas?
6
votes
2answers
588 views

Automatic scaling of kiviat diagrams

\documentclass[twoside,a4paper,12pt]{article} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage[upright]{fourier} \usepackage{tkz-kiviat,numprint,fullpage} \usetikzlibrary{arrows} \...
6
votes
2answers
515 views

Tikz Composite Midpoint Rule Horizontal Lines

I have 'written' the following code to get the attached diagram but am unable to draw horizontal lines above the even notes, i.e. x-2j and x-2n as well as x-0 and x-2. This was extremely straight ...
35
votes
3answers
2k views

Draw a coat of arms in LaTeX

Over at academia.sx we are trying to create a community ad to try and get us promoted out of beta. We are looking to create a university type coat of arms/seal. I have seen some really great artwork ...
5
votes
2answers
937 views

Best option to create vector graphics with LaTeX labels

I would like to create some vector graphics for my LaTeX documents. The graphics would often contain mathematical expressions that would should be typeset using LaTeX. As far as I know, my best ...
17
votes
2answers
6k views

Best Drawing software for engineering/scientific illustrations with LaTeX?

I will be writing my Master's thesis in Aeronautical Engineering and was wondering about the following: I will have lots of illustrations such as parts of aircraft, mechanical components, ...
4
votes
2answers
394 views

How could I create a diagram that looks like this?

I am trying to create a diagram for a document that illustrates a table. (Below is an example of how I would like it to look.) What tools should I use to replicate this?
80
votes
1answer
7k views

PowerPoint's “Smart Art” for TikZ?

This question led to a new package: smartdiagram I haven't been using PowerPoint for years, but today I immediately fell in love with its "Smart Art" feature (2010 version of PowerPoint). The idea ...
20
votes
2answers
1k views

How to Draw a Partitioned Circle in TikZ?

I want to draw something like this: I know everything apart from that circle. This is my code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,shapes.geometric,arrows,fit,calc,...
1
vote
1answer
256 views

Problem with \xymatrix in svjour3 [closed]

I attempt to compile the following \newcommand{\arb}[1]{\ar@<-.15ex>[#1]\ar@<.15ex>[#1]\ar@<-.075ex>[#1]\ar@<.075ex>[#1]\ar[#1]} \[\xymatrix{ & \arb{rr}^<<<<{}=...
19
votes
2answers
2k views

Making a labeled Klein bottle using TikZ or pgfplots?

I'd like to be able to draw the following cell complex structure on the (three-dimensional embedding of the) Klein bottle using LaTeX. I am pretty pleased with my hand-drawn rendition, but LaTeX is ...
5
votes
1answer
293 views

How can I create a dynamic geometry file in Tex?

I have a file containing \documentclass[10pt]{article} \usepackage{pgf,tikz} \usetikzlibrary{arrows} \pagestyle{empty} \begin{document} \definecolor{uququq}{rgb}{0.25,0.25,0.25} \definecolor{tttttt}{...
1
vote
1answer
211 views

Error messages with diagonal arrows [closed]

When I copy and paste the corrected code for example in this question, I get the following error message: xymatrix 2x2 ! Missing number, treated as zero. to be read again \/ l....
3
votes
1answer
578 views

Drawing delta-complexes (essentially labeled directed graphs) with TikZ? [duplicate]

Possible Duplicate: TikZ: How to draw an arrow in the middle of the line? How can I draw delta-complex diagrams like ones on this page from Hatcher's book: Source: http://www.math.cornell....
7
votes
2answers
994 views

Create a diagram to display composition of functions

So as to produce exercises about compositions of function, I would like to produce something like this (ugly) picture. From LaTeX point of view, the syntax could be like this : \compoDiagram[$G \...
2
votes
1answer
500 views

Numbering trees/diagrams in tikzpicture

I want to number my trees/diagrams according to section number and at the center and bottom of them. Like Diagram 1.1 Here is a simple one that I wrote. \usepackage{tikz} \usepackage{amsfonts} \...
10
votes
2answers
1k views

Draw a railway network in Tikz

I need to make several diagrams of a railway network, each of them representing different scenarios. Here is an ugly example of what I want: And here my first attempt to reproduce it: As you can ...
4
votes
2answers
1k views

TikZ: Drawing the same data with scatter plots and parallel coordinates

I am new to TikZ and trying to recreate the following image (which was created in R): (Translation: correlation = +1, correlation = -1, two clusters, circle, normal distribution) Each "column" ...
6
votes
2answers
2k views

Big block matrix with tikz

I know this is very similar to plenty of questions. The matrix below s actually bigger, so I realized that I had to use tikz. In this array, A, A',…,L', T are square matrices, and I filled with ...
2
votes
0answers
211 views

Large block diagrams with auto positioning [closed]

I need to make some (large) maintainable block diagrams. Some small diagrams I already made using Tikz, but I always need to specify the placement of every block. Now for large diagrams this could be ...
8
votes
1answer
621 views

how to add arrow between arrows, how to put an arrow on a second arrow

I have big problems to get model of evolution. I do not even know how to start. If some one show the sample code of something similar, I would be grateful \documentclass{minimal} \usepackage[utf8]{...
11
votes
1answer
429 views

Fake sheet effect

How can recreate this effect in LaTeX?
11
votes
2answers
2k views

Workflow diagram

I would like to make a workflow diagram like this: I found TikZ, but the sequence diagram example seems a bit obscure…
5
votes
2answers
3k views

Typsetting big matrix (but keeping A4 size)

This question is a slight variation of Compiling a BIG matrix, but I need to write a matrix in a A4 or letter size paper; it is a block 48x48 matrix but I can put lot of $0_2$ and $0_4$'s in order to ...
8
votes
1answer
642 views

String diagrams for monoidal functors a la McCurdy

Almost surely you don't know who Micah McCurdy is, but here is a sample of his diagrams, on pages 20-21, for example, or page 27 for something fancier. I asked him how he did them, and unfortunately ...
11
votes
2answers
5k views

inclusion arrow in TikZ

How can I give shape to some arrow in tikz, to draw the inclusion arrow? I read a similar question How to typeset inclusion arrow? with given answer, but the answer didn't really used tikz and I ...
12
votes
2answers
8k views

Labeled Number Line

I am transferring a professor's .doc files to LaTeX so that we can do more sophisticated formatting and I ran across a problem. I would like to recreate this number line in LaTeX. Help with which ...
2
votes
1answer
237 views

listplot and postscript

Is there a possibility with listplot to make lines from a point which is defined? Example... Fileinput: -0.013,0.471 0.044,-0.294 -0.069,0.446 0.025,-0.385 0.038,-0.448 0.073,-0.365 0.375,0.045 .......
3
votes
2answers
191 views

How to put a picture to the top right of a page?

I have written in TeX the following: \section{A} ... somethingA ... \begin{picture}(100, 100)(-250, -110) \includegraphics[scale=1]{face.png} \end{picture} \section{B} ... somethingB ... I have ...
2
votes
1answer
1k views

is it possible to include tikz picture from a file

I have a tikz picture in a tex file \begin{figure}[ht!] \begin{center} \resizebox{.4\textwidth}{!}{\begin{tikzpicture}[ .... \end{tikzpicture}} \end{center} \end{figure} The ... portion is quite ...
16
votes
1answer
3k views

Style question: serif or sans fonts in figure and chart text?

Question for you design-y types: I like to use a serif font for all my text (title, headings, body). What I'd like to know is whether you think that I should go with a serif or sans serif for text in ...
13
votes
2answers
2k views

Using Tikz to draw a Hash Table

I need to try to replicate a similar structure to this but am a novice when it comes to tikz. I'm not sure whether to use chains, explicit node positioning, etc. And, in my experience of drawing ...
2
votes
2answers
272 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[% ...
3
votes
1answer
111 views

How to put some special diagram in the subscript of a letter?

I'm a newer by using Latex. I don't know how to code the following equation. Can you give me some helpful suggestions? _____ ______ | | |___ |____ ...
4
votes
2answers
624 views

How to shift arrow in diagram

I need to shift this diagonal arrow (in bottom box) down. \xymatrix@R.8pc@C.8pc{ \bullet \ar[rrr]^{i'^{!}} \ar[ddd]_{Th(\Omega_{f'})} &&& \bullet \ar[ddd]^{Th(\Omega_{f})} \\ &&...