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

2
votes
2answers
928 views

Process locking diagram in LaTeX

Does someone know if it is possible to reproduce something like this Diagram (found at this Website) in LaTeX, perhaps with Tikz? Or do I have to draw my diagrams in another program and import them ...
5
votes
1answer
1k views

How to have one straight arrows surrounded by two curved arrows (TikZ)

What is the best way to draw one arrow surrounded by two circular arrows (see image below). This is very easy to do when you have a small number of nodes, especially so when the arrows go from one ...
4
votes
1answer
824 views

Using TikZ along with picture environment

Please see my examples: picture After TikZ \documentclass{article} \usepackage{color} \usepackage{tikz} \usepackage[english]{babel} \begin{document} \begin{tikzpicture} \path ...
6
votes
1answer
2k views

Is there a library for drawing object inheritance trees in TikZ?

This seems like a very common thing, but searching for the words 'tree', 'language', 'object', 'inheritance' and/or 'parent' returns Questions that have nothing to do with mine. In a nutshell, I want ...
16
votes
2answers
7k views

Draw lines by specifying angles?

I'd like to be able to draw lines in LaTeX by specifying an angle, rather than specifying it like so \put(0,0){\line(2,1){3}} Is this possible? I've looked at tikz and tikz-euclid. I've even tried ...
2
votes
2answers
3k views

Consistent font size in EPS image that are scaled?

Assume that at creation time (of an EPS image) the final 'size' of the image is not known. However, this one EPS is used multiple times in different sizes within different documents. But the font size ...
3
votes
3answers
1k views

covering map arrow

I am trying to draw an arrow going down similar to these we usually see in topolgy books. For example, when we study covering spaces we usually put the covering space and then an arrow and then the ...
5
votes
2answers
1k views

ways to indicate commutativity and non-commutativity of a diagram when using xymatrix

I used the following code, but \circlearrowleft looks no good in this diagram. I would like to know if there is a better way to indicate the commutativity. Also, is there any way to indicate ...
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
715 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
950 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
446 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 ...
19
votes
3answers
5k 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
818 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 ...
9
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
329 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
1k 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
1k 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.
104
votes
4answers
7k 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 ...
113
votes
11answers
12k 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
242 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
16k 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
803 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} ...
35
votes
3answers
5k 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
548 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 ...
35
votes
4answers
10k 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
172 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
895 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
989 views

Balanced Scorecard diagram

I want to make a Balanced Scorecard diagram in tikz. Is there an example already?
8
votes
2answers
4k 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
301 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
4k 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
377 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 ...
12
votes
3answers
21k 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, ...
8
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}(...,...) ...