{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
4answers
797 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
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
547 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
170 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
888 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
978 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
299 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
20k 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, ...
7
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
363 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
2k 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
440 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 ...
12
votes
2answers
2k views

Is there an advantage to using LaTeX graphics instead of eps or pdf?

Back in my first courses I learned that the best graphic format to use when plotting data with gnuplot (which will later be used in a LaTeX document) is eps (encapsulated postscript). I didn't really ...
6
votes
2answers
2k views

partially filled, tilted cylinder in TikZ [closed]

I have a diagram I'd like to reproduce in TikZ: Picture a can (cylinder of radius r and height L) that has liquid in it. In each diagram, the can is tilted so that the surface of the liquid just ...
3
votes
5answers
1k views

xy diagram: set height of a specific row

I'm using the xy package. In the diagram $$\xymatrix@R=8mm@C=8mm{ & 1\ar@{-}[ddl]\ar@{-}[dr] & \\ & & c\ar@{-}[dd]\\ a & & ...
8
votes
2answers
1k views

Defining a new command for making functional lines / package

As you have probably guessed from the title my mother tounge is not English. Therefore I have no idea if "Functional lines" is the correct term for what I am looking for. Basically I am looking to ...
15
votes
4answers
4k views

Reduce vertical space between bars in pgfgantt

Is it possible to reduce the default vertical space between bars in pgfgantt? The manual specifies "last line height" but there appears to be no "line height" option. ...
6
votes
2answers
438 views

How to do overlaying and solve line drawing problem in this TikZ example?

I'm working on a picture (code given below) and I've stumbled onto two problems: Lines drawn from the DRAM to the GPGPU don't connect properly. Also, when regenerating the picture the DRAM and GPGPU ...
4
votes
2answers
508 views

Convert a picture or figure to EPS or PDF file

In my document I'm embedding figures using the following code: \begin{figure}[!t] \centering \def\svgwidth{1.2\columnwidth} \resizebox{\columnwidth}{!}{ \endlinechar=255\relax ...
1
vote
2answers
320 views

Complicated diagram with xy (everything is wrong)

I'm trying to create a diagram for the countable direct limit in algebra. The following code $$\vspace{-1mm}\xymatrix{ &&& A\ar@{-->}[dd]^{\exists!\alpha}\\ ...
4
votes
1answer
635 views

Best way to replicate the node diagram in LeeMcq08?

Q: What would be the best (I'm sure there's some subjectivity involved) way to replicate the univariate distribution relationship diagram of LeeMcq08? From what I can gather Inkscape and TikZ along ...
7
votes
2answers
6k views

pgfplot: Customize the axis wide scientific notation multiplier

Hy Guys, I'm experiencing two problems with ticklabel formats. First, if I explicitly set scaled y ticks = true, the base ten notation still appears at every tick. Here's the diagram: Here the ...
12
votes
5answers
898 views

How would you produce the following exact hexagon?

I'm somewhat familiar with the array environment, but I'm not sure what the best approach would be to produce this diagram: How would I make this, or diagrams similar to this? The slanted arrows ...
12
votes
1answer
4k views

spiral spring in tikz

I'm aware of the possibility to easily draw linear springs with tikz but what about spiral springs (torsion)? It looks like there is nothing ready and a long journey in pgf is necessary. I could ...
1
vote
1answer
395 views

Formatting problem with lyx

I am writing a report in Lyx. I have included many images in the report. And I am having bit of problem with the placement of the image in the final report. I include a image in a section and ...
2
votes
1answer
580 views

Generate Entity-Relationship Diagram then generate SQL from that

Using a LaTeX or similar text-macro tool/library, how can I generate an Entity-Relationship Diagram then generate SQL from it?
1
vote
1answer
593 views

math.SE-compatible LaTeX for diagrams with non-horizontal “decorated” arrows?

I'm looking for LaTeX directives that I can use in posts to math.SE to make category-theory-style diagrams that use non-horizontal (vertical, slanted, curved) arrows, both "plain" (i.e. the ...
1
vote
1answer
2k views

Generating UML Entity-Relationship Diagrams in LaTeX

Would you recommend LaTeX for this kind of UML diagramming? http://yuml.me/ is great for quickly drawing Use Case and Class diagrams. Please recommend a library of some sort for LaTeX, or ...
2
votes
1answer
2k views

Use of Tikzpicture and Includegraphics

The following codes output only the line but the figures are disappeared. Could anybody suggest how to force both the drawn line and the figures in the output? Many thanks! \begin{figure}[ht!] ...
3
votes
2answers
425 views

Why does the tableau package raise the error “undefined control sequence” for \newpsstyle?

I'm running ubuntu 11.04, and trying tableau to draw logic diagrams for the first time. \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{ifsym} ...