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

5
votes
3answers
1k views

What are some good graphing libraries/programs for embedding in LaTeX

The de-facto plotting program for LaTeX is, AFAIA, gnuplot. Is there such a program for drawing graphs/diagrams? I am aware of graphviz and at first glance it appears very useful, but it is missing ...
3
votes
1answer
686 views

Filling complex figures with color

I wonder if there is any method available in LaTeX to fill complex figures. There are few methods for filling figures: even-odd rule algorithm, winding number algorithm. According to these algorithms, ...
7
votes
3answers
926 views

Help on TikZ diagram

I'm very sorry about dull question, but I am totally confused by TikZ. Would anyone help me to draw following diagram, please? What I've done so far is as follows. \documentclass{article} ...
2
votes
2answers
437 views

Generating a diagram of labels with connecting lines

I need to generate a diagram showing relationships between points. I can convert my data into a simple syntax, such as this below (other forms of syntax is okay too): A (B, C) % A is connected to B ...
3
votes
2answers
1k views

Creating a rhombus in LaTeX

I want to build an E/R diagram in LaTeX such that there should be rhombus for representing the relations and squares for representing the entity sets. I dont want to import graphics in LaTeX i.e. ...
5
votes
2answers
1k views

Edit TikZ Chains to add labels and maintain the option to add individual styles

I find a code that redefines the way one defines a chain (\chainin), and allows one to include labels in the chains. However, this code disables the style options (by and with keyword). However, I ...
16
votes
3answers
4k views

Put a node behind another in a TikZ diagram

I want to place a node, that is kind of a note, behind another node. However, I need to put the reference node before the note, so I can place the note in a relative position to the reference node. ...
7
votes
3answers
777 views

Creating stacked shapes for tikzstyle with

I'm working on a diagram, and I'm exploring TikZ for doing it. I searched, and looks like there is no easy way of doing diagrams, like pgfplots for plotting. So, I need to create some special node ...
8
votes
4answers
3k views

Neural Network representation

I would like to translate to Spanish a diagram that represents a neural network, the diagrama is something like this: I would like to clone the design and effects, so I need some examples to do ...
10
votes
1answer
319 views

Automatic conversion from picture commands to tikz-pgf

I'm trying to modify an old document with a bunch of images created using the picture/pict2e environment. The problem is that I need to improve these images, but adding some new features in those old ...
5
votes
3answers
928 views

How do I label parts of an image? [duplicate]

Possible Duplicate: How to superimpose LaTeX on a picture? Take this image for example: How can I add labels to an image as done above without manually drawing a line and adding text at ...
16
votes
1answer
5k views

Avoid arrow crossing over blocks in flow chart

I've been creating a flow chart using the template I found here: http://www.texample.net/tikz/examples/simple-flow-chart/ Please see the code below: \documentclass{article} ...
3
votes
1answer
968 views

How to draw arrow and loop with rounded heads instead of arrow shapes?

Can any one help me with this. I want to draw an arrow and a loop with rounded nodes as in the image? I am waiting for your expertise.
102
votes
4answers
6k 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? ...
8
votes
4answers
1k views

How can I insert a framed box inside a table?

I'm trying to accomplish the result in shown in following picture. So far I have tried : \begin{tabular}[h]{cm{5cm}m{5cm}c} fingerprint & Signature1 & \rule{5cm}{.5pt} & fingerprint ...
108
votes
10answers
11k views

Simulating hand-drawn lines

I am working on a project that will have some vector graphics, perhaps using TikZ (or a similar package). All of the graphics consists of lines, in shades of gray. However, the lines from TikZ appear ...
5
votes
1answer
236 views

Selectable picture environment in PDF

I'd like to be able of copy & pasting the results of a picture environment in a PDF file to a plain text file. The problem is that once I copy the text the results are unsatisfactory: for ...
8
votes
3answers
15k views

How to change the background color of \framebox?

I'm trying to change a picture drawn using the plain picture environment and I need to change the background color of certain \framebox to lightgrey. Is it possible? I know that there are more ...
5
votes
4answers
783 views

Rectangular diagram with TikZ

I have a problem with getting rectangular diagrams in LaTeX. For example, the diagram below gives a diagram which looks like a trapezium. What do I need to change to get what I want ? \begin{center} ...
34
votes
3answers
4k views

How to draw tangent vectors and component vectors on a curve

I am searching for a way to have a figure drawn using LaTeX. I am aware of some packages TikZ and PSTricks that could accomplish this, and have been tinkering around with them recently but do not have ...
14
votes
4answers
2k views

Plotting the solution of inequalities with WolframAlpha or Maple

I want to plot the solution of two inequalities and include them in a LaTeX paper. I really like they way this looks: Wolfram Alpha. Unfortunately, I have no idea how to export this into a ...
4
votes
1answer
1k views

Reverse arrow in TikZ

How can I reverse some arrows of the diagram given by the code below? \begin{tikzpicture} % Tell it where the nodes are \node (A) {$A$}; \node (B) [below=of A] {$B$}; \node (C) [right=of A] ...
5
votes
2answers
3k views

How to set lines, arrows and text in this block diagram on tikz?

Im quite new learning tikz, it rocks!. Well, Im trying to get the following block diagram working, but having kinda trouble: And this is what I got so far: \documentclass[12pt,a4paper]{article} ...
5
votes
2answers
536 views

Redraw a kernel scheme diagram

I'm trying to redraw a kernel scheme diagram for a university lecture note. This is how far I got: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
4
votes
2answers
1k views

tkz-graph : inconsistency between edge and loop

I'm discovering the great package tkz-graph and I am experiencing some trouble with the \Loop macro. There seem to be some inconsistencies between the \Loop macro and the \Edge macro. For example, in ...
34
votes
4answers
9k views

How to draw arrows between parts of an equation to show the Math Distributive Property (Multiplication)?

there is a part of my paper where I use the distributive property and it's not that clear for the reader to see (I'm using in proposional logic for a proof). The logic equation (part of) is: (l_{1}) ...
0
votes
1answer
165 views

Xypic not rendering edges

First off, I'm rather new to LaTeX and use it in a limited fashion (typing up notes + problem sets for my math classes). As such I'd like to apologize in advance for not knowing the correct ...
5
votes
3answers
1k views

Diagramming workflow in LaTeX

I'm trying to put together some diagrams in LaTeX. My dilemma is as follows. I have a technical report that contains a lot of images from MATLAB. I need to be able to freehand / draw other plots ...
1
vote
0answers
1k views

How to include class diagrams in Doxygen pdf? [closed]

I'm doing a programming project in college and I documenting my code with Doxygen. The program generates two folders, html and latex. In the html folder, there are some class diagrams (png files) I ...
11
votes
2answers
2k views

Which are the advantages of TikZ over GeoGebra?

Now I have been using GeoGebra for a considerable amount of time and therefore I am rather experienced using it. Creating graphs, plots and geometric figures can be done in a matter of minutes. Often ...
11
votes
4answers
858 views

Simple line with dots, known coordinates

Are there any easy way to make something similar to this image in tikz, asympote or similar? I know the coordinates, to each of the points =) Ofcourse I know how to solve this, but to do it in ...
1
vote
0answers
223 views

Is there any package to model use diagrams of UML? [duplicate]

Possible Duplicate: Typsetting UML class diagrams I need to model some diagrams UML, specially use cases, but I didn't find a good package to do this, I found UML for LaTeX/MetaPost however ...
5
votes
1answer
939 views

Balanced Scorecard diagram

I want to make a Balanced Scorecard diagram in tikz. Is there an example already?
8
votes
2answers
3k views

TIKZ : How to decorate a \path?

My question is about drawing a "commutative-type diagram" in mathematics. I would like to integrate an arrow of the type \rightsquigarrow, which is described how to be obtained here : Squiggly arrows ...
9
votes
2answers
291 views

Table with “curly” break

I searched a lot but I wasn't able to find a package that can really fit my needs. I want to achieve something like the “Page Table” in this image: A regular table but with some “curly breaks” that ...
13
votes
2answers
3k views

Horizontally enlarged hexagon with TikZ

I need to draw some nodes for a diagram, but I'm failing to produce a simple horizontally enlarged hexagon. If I use regular polygon (from shapes.geometric), I cannot enlarge it (first figure in ...
0
votes
3answers
3k views

Can we use LaTeX to make the following figures?

I am new to this forum and a very new user of LaTeX. So the question may be very naive. Sorry for this. I truly appreciate your help. I have no idea where to begin. How can I make the following ...
4
votes
2answers
372 views

How can I create a diagram to compare skyline operation results using LaTeX?

I'm trying to draw this but except for the straight lines in this diagram I'm not able to place other things such as square and circle properly. How can I do this? Help much appreciated. EDIT: ...
10
votes
1answer
1k views

Recreating the xkcd Movie Narrative Chart

To teach myself TikZ, one of the things I've done is recreate interesting graphs/charts/etc. One of my bigger projects is attempting to recreate the xkcd Movie Narrative Charts comic. Different ...
3
votes
0answers
2k views

Using circuitikz to generate logic circuit diagrams? [closed]

How can I use circuitikz (or similar library for small code) to generate logic circuit diagrams with full variable life. x ---[and1]--- z y ---[and1]--- z So f(x,y)=z An image of the kind of ...
10
votes
3answers
19k views

Drawing circuit diagrams (with logic gates) in LaTeX

I'm having some difficult drawing circuit diagrams with logic gates in LaTeX. I've tried with circuitikz and pst-circ. \begin{pspicture}(-1,-1)(5,3) \logicand[ninputs=2,invertinputa=true, ...
6
votes
1answer
5k views

Picture environment “rotating” text

I'd like to know how can I rotate text in the picture environment. I want to typeset some text from bottom-to-top, making it to appear sideways. Basically, the following \begin{picture}(...,...) ...
3
votes
2answers
1k views

Combine shorten and bend option in TikZ

Is there a way to combine the bend left and shorten option to make an arc shorter while keeping its shape otherwise? i.e., when I do \begin{tikzpicture} \node[] (n1) at (0,0) {1}; \node[] (n2) at ...
4
votes
4answers
354 views

Adding lines that go from one cell to another on a different row

I've google a bit about this topic but I've found no result. I'm trying to write some notes for my University course. The topic is "numerical interpolation methods". More precisely I have to build a ...
5
votes
2answers
1k views

Generate System context diagram in TeX?

Good afternoon, Is there a way I can generate a system context diagram in LaTeX? - See below for example diagram:
9
votes
6answers
2k 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 ...
13
votes
3answers
2k views

callout and beamer

I am trying the callout code that Andrew has provided at How to open a temporary comics-like balloon in a beamer slide?, but I am getting an error: Undefined control sequence. \pgf@sh@bg@ellipse ...
3
votes
1answer
205 views

Figure preview wrapper

How do I best preview my figures? I have one file with this: \begin{figure} \begin{tikzpicture} %if tikz ... \end{tikzpicture} \includegraphics{...} %if eps \caption{...} \label{fig:..} ...
13
votes
4answers
1k views

Bending snakes with xy-pic

This is a follow-up to this question: How do you draw the "snake" arrow for the connecting homomorphism in the snake lemma? I'm trying to emulate this snake diagram Aluffi does in his book ...
4
votes
1answer
432 views

LaTeX color package: wrong spacing

I'm making a simple drawing, on which high school students have to complete the drawing.It's a drawing in R², so I also made a raster. If I use black lines for my raster, it is too dark, so I loaded ...