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

8
votes
3answers
2k views

Surface plot with coordinates in pgf

Is it possible to draw a three dimensional surface using coordinates instead of formulas? MWE so far: \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} ...
9
votes
2answers
795 views

What are some good examples of LaTeX Cayley diagrams?

I'm looking for some good examples of LaTeX code used to generate basic Cayley diagrams like this one: Ideally, I'd like for the examples to make it fairly clear how to modify or remove various ...
7
votes
2answers
590 views

Is there a combination of LaTeX gnuplot flowchart?

I know this is not always a good idea, but I think it might be a good idea in some situation. Is there an improved LaTeX version or something, can have the gnuplot scripts inside of the LaTeX file, ...
4
votes
1answer
891 views

Questions on Xfig

I was trying to use Xfig software to draw pictures, but I am running into trouble in the following cases. I have three really quick and technical questions: I see there are options for drawing an ...
23
votes
1answer
946 views

How to produce John Kruschke's Bayesian model diagrams using TikZ or similar tools?

In a May 2012 blogpost John Kruschke discusses how he prefers his diagram conventions for representing bayesian models to the traditional approach. You can see an example of his approach in the ...
1
vote
1answer
322 views

How to make self-refering arrow with xydigram in a box

I'm trying to make a nice state diagram with some arrows I cannot find a way to make the arrows pointing to the same state: in my case, I would like a self-refering arrow to altcache I'm not fixed ...
1
vote
0answers
160 views

What is / are the softwares to use to draw surfaces of the form of a two or three-holed torus , or torus, or torus with cusps attached to it? [duplicate]

Possible Duplicate: Topological Quantum Field Theory diagrams with pstricks or tikz I am trying to draw surfaces with complete hyperbolic structures and surfaces which are topologically ...
1
vote
4answers
3k views

How to draw a boolean circuit diagram in circuitikz?

How would I draw this image: using circuitikz? What I have so far is \begin{circuitikz} \draw (0,2) node[and port] (myand) {} (2,1) node[or port] (myor) {} (myand.in 1) node[anchor=east] {A} ...
4
votes
1answer
4k views

Block Diagrams in TikZ

for my thesis i need to put some block diagrams in my LaTeX document. I was recommended to use TikZ for that. This is the only sample code i could find. Do you guys maybe have some tutorials / doc ...
19
votes
3answers
1k views

Amoeba shape with TikZ

I would like to draw generic amoeba-like shapes with TikZ and don't really want to think too deeply about its boundary. Basically a closed connected set with smooth locally convex boundaries. Any ...
6
votes
3answers
465 views

How would I trace a pixelated graphic for my thesis?

I am writing a thesis with MS Word about drug delivery and I have a graphic that is a bit pixelated (so says the professor). I heard that TeX is a good thing to learn for this and I was wondering if ...
9
votes
2answers
690 views

Step-pyramid in LaTeX

How can I generate a step-pyramid in LaTeX? I'm guessing I would use a graph module to centre chart bars... I want to be able to select the length of each "row" of the pyramid, and show that number ...
1
vote
1answer
258 views

Softwares for drawing hyperbolic surfaces , closed, with boundaries or with punctures?

In a paper I am in the process of writing in LaTeX, I need to draw and incorporate some diagrams of hyperbolic surfaces in my LaTeX document. Is there any software I can use to draw hyperbolic ...
36
votes
1answer
2k views

Plotting several 2d functions in a 3d graph

I am trying to reproduce a similar figure to the following one. My first guess was to use pgfplots but I didn't find any example that I could use as a starting point. At the moment I am unsure if ...
10
votes
3answers
408 views

Creating macros for common commutative diagrams in tikz

I am currently typesetting a document which requires many commutative diagrams of the same shape and construction, but with different labels at the vertices and edges. For example, I want a ...
1
vote
1answer
430 views

Help with drawing a picture (pgf/tikz)

I am interested on drawing (I suspect that using pgf/tikz is one of the easiest ways to accomplish this) a picture like the following one It is supposed to be a grid of the plane (I only care about ...
32
votes
2answers
9k views

Can you make chemical structure diagrams in LaTeX?

Can you create diagrams of chemical structures in LaTeX? Example(s) of "chemical structure diagrams":
4
votes
1answer
147 views

How can I move the arrow inside the commutative diagram into the centre?

I have the following diagram: \documentclass{article} \usepackage[all]{xy} \begin{document} \xymatrix@R.8pc@C.8pc{ F(Y) \ar[rr]^{E_{Y}} \ar[dd]_{F(f)} && F(Y) \ar[dd]^{F(f)} \\ & ...
3
votes
1answer
856 views

Introducing a (sub)node within a part of a split rectangle (with tikz-pgf, for displaying memory data structures)

I'm trying to put a node (or, say, a chain) within one of the nodeparts of a split rectangle shape. So far I've been unable to make it work. Essentially I'm trying to represent a simple data structure ...
0
votes
1answer
435 views

Commutative Diagram with Elements

I want to make a diagram that looks like the following:
5
votes
1answer
421 views

How to enclose terminal symbols within circles and/or nice oval boxes in a syntax diagram built using syntax.sty?

I hope you can help me again. I want to use the syntax package to build syntax diagrams, but I want to enclose non-terminal symbols in boxes and terminal symbols in circles or well-formed oval boxes ...
8
votes
3answers
626 views

Intersection of lines to draw a convex function

I'm trying to draw (in TikZ) a convex function f constructed as the minimum of the linear functions f1, f2, f3 and f4. To do that, my inclination is to use the intersections of said lines to find the ...
6
votes
2answers
4k views

Tools for tree diagram

I would like to make a simple scheme looking like tree diagram (structure like this or that). The problem is that all the packages I did try, could make nice binary trees with little information in ...
2
votes
1answer
454 views

moving label of arrow

How can I shift the F_{2}(f') label so that it isn't touching the arrow? \usepackage[all]{xy} \SelectTips{xy}{12} \[ \xymatrix{ A \ar@{<->}[rrrr]^{F_{1}(h' \circ g')} ...
6
votes
1answer
496 views

Short diagonal arrows inside commutative diagram

I need to use the xy maths package (because I need to make it into a PNG file for Wordpress and mathurl.com accepts the xy template) to make a commutative diagram in which there are diagonal 4 shorter ...
5
votes
1answer
1k views

Turing Machine Figure

Just curious if anyone had a good recommendation for generating a Turing machine style image using perhaps TikZ or something else that would create an image similar to the one shown here. Any ...
1
vote
1answer
443 views

Where is mp.exe in MikTeX 2.9?

I am a a retired software engineer and a newbie on this site. Please execuse me for the naiveness in my question. I am using Windows, XP and Vista. Other OS's are not affordable to me for now. I used ...
2
votes
1answer
1k views

Commutative diagram with parallel arrows in opposite direction

I have a diagram of the following form, written with the package amscd: \begin{align*} \begin{CD} W @>\phi>> X \\ @V{a}V{b}V @V{c}V{d}V \\ Y @>\phi>> Z \\ \end{CD} ...
3
votes
1answer
703 views

Feynmf doesn't produce feynman diagram at all in TXC

I am trying to draw a feynman diagram using feynmf in TXC. I use the following code \documentclass{article} \usepackage{feynmf} \begin{document} \unitlength = 1mm % determine the ...
2
votes
2answers
209 views

How to generate the movie DVD available sound systems symbols?

On the back every movie DVD I have seen there are bunnch of available sound systems characters, they look like a square (just the outside not solid filled) and a number of filled squares on various ...
4
votes
3answers
2k views

How to draw labeled parallel arrows in commutative diagram with TikZ?

I want to draw labeled parallel arrow in commutative diagram with TikZ, I searched on google and Tex Stackexchange, however, I found only the method to draw parallel arrow by transform canvas only, I ...
3
votes
4answers
7k views

Drawing a line between two points

The LaTeX line requirements are too restrictive (coprime and mag < 6). Is there any package that lets me just draw a line between two points? Basically \line(a,b)(c,d) or something similar I ...
4
votes
1answer
535 views

Creating definition of new shapes in PGF/TikZ

Can somebody help me out with declaring these shapes for nodes? : Need them as model for creation another shapes for symbols. Picked up those what I'm not able to define.Sorry there will be no MWE, ...
5
votes
2answers
3k views

How can I make a graph of a function?

I'm trying to implement a function to LaTeX but i don't know how. I'm compiling using this page: docs.latexlab.org
24
votes
2answers
5k views

How to draw a poset Hasse Diagram using TikZ?

I need to draw an Hasse Diagram using LaTeX. TikZ is the solution I would like to use. I tried with a simple structure involving trees but obviously when I need to join two nodes, it is not possible. ...
4
votes
1answer
309 views

How do I add a \vector to a table?

I am trying to make a table that shows how an element moves from location in the table to another. I would like to add a vector that starts at the first element and goes to the second element. How do ...
3
votes
2answers
355 views

How to join arrows within xymatrix?

I use xymatrix (\usepackage[all]{xy}) in order to create the following picture: \[ \xymatrix{A \ar@{-}[d] & B \\ \ar[r] & C} \] Is there any possibility to join the lines?
22
votes
2answers
2k views

Is there a way to compile tikz graphics outside a document?

As my document grows, so does the number of drawings. I am using PGF/TikZ and each drawing is what is enclosed between \begin{tikzpicture} and \end{tikzpicture}. Every time the document is compiled, ...
3
votes
1answer
407 views

Grid customized

I would like to build a grid such as the figure shown below where each grid point is surrounded by some of the two curves that describe below. First curve: an outline around the point forming a ...
5
votes
1answer
2k views

How to put the values of each bar in a pgfplots bar chart inside the bar itself?

I have this: \begin{tikzpicture} \begin{axis}[ ybar = 0.6, width=1.2\textwidth, height=0.4\textheight, enlarge x limits = 0.2, bar width=16pt, title={Instance els19 with 1\% max error}, legend ...
0
votes
0answers
80 views

Is there a program that converts a drawing to latex? [duplicate]

Possible Duplicate: What GUI applications are there to assist in generating graphics for TeX? Is there an analogue of detexify for, say, pictures of curves intersecting? E.g., something ...
11
votes
5answers
5k views

Commutative Diagrams and TikZ

I wish I knew how to draw the this commutative diagram with the TikZ package. I would also like to know how to put subtitles in the diagram.
18
votes
3answers
17k views

Drawing graphs in LaTeX

Is it possible to draw graphs like in image below in LaTeX? It doesn't have to look exactly the same. I need arrows with numbers and circles (or dots or other symbol) with text in it (or next to it). ...
4
votes
0answers
556 views

Creating a colored bar chart using MetaPost or pgfplots [closed]

Right now I have this: input graph input sarith beginfig(1) draw begingraph(3cm,2cm) gdata("data1.d", v, path p; augment p (v1,0); augment p (v1,v2); augment p (v1 Sadd ...
3
votes
0answers
852 views

Package for UML component diagrams? [closed]

Do you know any package to model component diagrams of UML? There are some packages like tikz-uml that support class diagrams or sequence diagrams, but I haven't found any for component diagrams. Any ...
2
votes
1answer
951 views

tikz-uml sequence diagram “Extra \or” error

I was compiling the following code which uses the tikz-uml package. \documentclass{article} %\usepackage{pgf} %\usepackage{tikz} \usepackage{tikz-uml} \begin{document} \begin{tikzpicture} ...
10
votes
3answers
492 views

How to simplify a basic diagram

I am a beginner in Latex, trying to use it for an industrial document. I have tried to add a simple electrical diagram using the following code. However it is not easy for me to adjust the location of ...
2
votes
2answers
684 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
983 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
595 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 ...