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

0
votes
0answers
28 views

eepic package fails compiling

I have som problems with eepic package. When I use the eepic package almost everything works fine, except circles. The circles were shown half (circle lines and filled circles). When I add the eepic ...
297
votes
48answers
78k views

Nice scientific pictures show off

Task Show off your best scientific illustration ! The main purpose of this question is to share beautiful scientific pictures, preferably with an educational aspect. Content Your post must ...
1
vote
1answer
49 views

How to typeset Hess' Cycle in tikz-cd?

I want something like this: A B ΔH \ / (-397*2) \ / C Where the arrow points from A to C, and from B to C. How can I do ...
6
votes
2answers
177 views

Brazil Language problem in the TikZ diagram

I have a problem with TikZ diagram, I don't get to make the diagram with babel under the brazil language. I used the code with french and everything is OK! \documentclass[a4paper,12pt, ...
3
votes
1answer
108 views

How to draw a system architecture with databases and shadows?

My goal is to draw a complex system architecture. Some approaches to do it are here How to draw a layered architecture using Latex? This approach http://tex.stackexchange.com/a/102669/44348 seems to ...
12
votes
2answers
3k 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, ...
3
votes
1answer
83 views

How to draw Closed curver with TiKZ?

I want to draw the following diagram. I have tried with the following Latex command: \documentclass[12pt,twoside,a4paper]{book} \usepackage{graphicx,wrapfig,tikz} \begin{document} ...
5
votes
4answers
1k views

How can I draw a chessboard missing two diagonally opposite corner squares?

How can I draw of a mutilated chessboard, i.e. missing two diagonally opposed corner squares? Using the chessboard package, I can only draw a full chessboard...
4
votes
1answer
183 views

How to draw this picture in Latex

I need to draw a picture, the picture is showed below. Which package is better to draw it,TikZ? Actually I need integrate the latex code into my software program, and the input, output and variable ...
3
votes
2answers
63 views

How to set up a two-sided document with large pictures and margins?

i used a one-sided document with the following geometry content \usepackage{geometry} \geometry{ top=3.5cm, bottom=3.5cm, outer=6cm, inner=2cm, heightrounded, ...
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 ...
3
votes
1answer
201 views

Meaning of “Diagrams should be prepared in .ps (postscript) or .eps format”

The homepage of the Journal of Integer Sequences says: If there are accompanying style files or diagrams, please be sure to include them. Diagrams should be prepared in .ps (postscript) or .eps ...
1
vote
0answers
86 views

Quiver Diagrams in Tex

How can I draw Quiver diagrams (for a specific gauge theory) in Tex like the followings? Diagrams has been taken from the following thesis: A Pedagogical Introduction to the AGT Conjecture Any ...
3
votes
2answers
53 views

How to typeset a “flatplan” / “page plan” from external images

I have a multipage PDF file (which I can export as a set of images) and need to typeset it as flatplan. It should look something like this: I can create such plans by hand but I'm looking for nice ...
1
vote
0answers
37 views

Compiler Error. Tikz and Arrow error? [duplicate]

Im having a little problem with the Tikz package. I don't know why it doesn't want to compile if i want to do arrows instead of lines. Im using the following code to create a diagram: ...
1
vote
3answers
460 views

How can I draw this reservoir diagram with TikZ? [closed]

I am trying to draw the diagram below in Tikz. I have been unable to do so, I need the minimalist and a 3D representation.
1
vote
0answers
36 views

Fourier transform visualization in 3D [duplicate]

I want to plot this (based on this image from Wikipedia): As far I get this: \documentclass[tikz,border={20pt}]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.10} % ...
9
votes
3answers
848 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
289 views

Diagrams with coloured boxes and arrows

I am trying to do the following diagram but seems that I can't understand the TikZ package: How can i do it? Im using the following code: \usepackage{tikz} \usetikzlibrary{arrows, ...
-3
votes
2answers
118 views

drawing 2-D coordinates with 2 simple line in it [closed]

I want to draw this coordinates with straight lines in it... would you do me a favor and help me?
4
votes
1answer
70 views

3d plot of a surface with nonrectangular domain

I need to make a 3D plot of a step function For example, suppose that I want to plot the function f:[0,1]x[0,1]->[0,1] given by: f(x,y) = 1 if x < y^2 and f(x,y) = 0 otherwise I would like to ...
0
votes
3answers
139 views

drawing some simple circular, rectangular and triangular shapes [duplicate]

I want to draw these shapes, would u please help me? thanks a lot. @peter It is so useful, thanks a lot for your attention, but actually I want to draw this figure, sorry for inconvenience I am a ...
5
votes
1answer
494 views

How to draw a bow-tie risk diagram

I'd like to draw some bow-tie diagrams, which are diagrams for modelling risk, particularly for businesses like oil and gas and transport. In the centre, there is a "top event", and there are zero or ...
4
votes
2answers
122 views

Labels in diagram too far from lines

I'm having trouble with the labels in my diagram. I want them closer to the lines, but I can't seem to find a way. Is there any way to put the labels closer to the lines? Here is the code: ...
3
votes
2answers
88 views

How can I insert a picture into a TikZ diagram?

I want to insert a picture into a TikZ graphic, is it possible? An example:
2
votes
0answers
38 views

How to create a blanks diagram for counting problems?

How can I create a blanks diagram for simple counting problems? What I have in mind is something like this: \documentclass{article} \begin{document} \begin{tabular}{ccccccc} ...
6
votes
1answer
64 views

how to use graphicspath?

I have a picture in my desktop, how can i use it by set graphicspath? I checked some examples, still no idea. Below is an example, but it compile error \graphicspath{{C:/}{Users/}{Me/}{Desktop/}} ...
1
vote
1answer
130 views

How to create this diagram with boxes and arrow?

How to create this diagram with boxes and arrow ? Thanks a lot.
1
vote
1answer
72 views

How can I vertically align picture and text?

I'm trying to build a decent first page in a résumé but I'm struggling with the photo. Here is what I have: (BTW, I'm not actually going to use this picture. Not a bad idea, though.) It kind of ...
36
votes
2answers
1k views

How can I draw nomograms in LaTeX?

What is a nomogram “A nomogram, also called a nomograph, alignment chart or abaque, is a graphical calculating device, a two-dimensional diagram designed to allow the approximate graphical ...
4
votes
3answers
142 views

How can already binned data be plotted as a histogram?

I have the following data: [0, 1000) : 14524 [1000, 2000) : 38214 [2000, 3000) : 36169 [3000, 4000) : 25875 [4000, 5000) : 16942 [5000, 6000) : 10603 [6000, 7000) : 6778 [7000, 8000) : 4288 [8000, ...
4
votes
3answers
229 views

Plot the square root function using Tikz

I want to draw the graph the function $y=\sqrt{x}$ (and label it above the graph of the function) in an $x-y$ plane. Then I need to put a filled dot on the point $(4,0)$ (I want to label $(4,0)$ ...
3
votes
1answer
27 views

Error while including inkscape image in tex file

I am using the Tex Live 2013/Debian on my Ubuntu 14.04 I exported an image as PDF in Inkscape (and checked the PDF+Latex option). To include the image in my latex file, I used the following command ...
6
votes
1answer
132 views

defining Style of flowchart tikz

I have been trying to define styles to make a good block flowchart in TikZ package, but I'm not very good at it, could you make one with a combination of blue, cyan and green? I need to describe the ...
11
votes
2answers
278 views

big formula with description

It is possible to make the following thing, helping you Latex...?
2
votes
2answers
62 views

Need to help to shade and label squares cut from the corners of the rectangle

I have just started learning using how to plot graphs using the TikZ package. I am still in my first steps. I appreciate if anybody can help me with the following: I wrote the following code (see ...
13
votes
4answers
422 views

How to construct a closed, filled, path made of semi-circles and attach annotations to it with TikZ?

I have very limited LaTeX knowledge. I am trying to plot the following figure using "tikz" and I appreciate if anyone can help me to finish plotting my figure. I did the following so far: ...
6
votes
1answer
5k views

Which font should be used for diagrams/graphs/flow charts?

I'm using the standard serif fonts in KOMA script for typesetting my thesis, 11pt for normal text. What font and font size would be recommended for use in graphs, diagrams and flow charts? The same ...
3
votes
0answers
50 views

First package for typesetting commutative diagrams

What was the first package for typesetting commutative diagrams in Latex and when was it made available?
3
votes
2answers
139 views

Symbol division latex [duplicate]

I am studying the phasor method for solving electrical circuits. Have tried using tables and researched a lot on the internet but have not found a simple command to represent the numbers a and b in ...
27
votes
6answers
1k views

Design of an asteroid belt in TikZ

How can I construct an asteroid belt in TikZ? That is my question: I get everything right, but I do not know how to make the asteroid belt. I have no code to add besides the preamble with TikZ ...
4
votes
3answers
157 views

sketching simple arrows with different direction

I want to sketch this figure.. if you guide me to draw one of this arrows with direction i would be grateful..
6
votes
5answers
265 views

drawing two curved arrows with ellipse between them

how can I draw two curved arrows with two ellipses between them like attached image?
8
votes
2answers
199 views

Tikz, decorations

I use tikz as a general purpose drawing package because of its flexibility etc... I need to draw some Feynman diagrams like these: I tried to draw arc like \begin{tikzpicture} \draw [decorate, ...
46
votes
8answers
18k views

What graphics packages are there for creating graphics in LaTeX documents?

What packages do you use and recommend for creating graphics in your LaTeX documents? As this is a community wiki post, please add your package to the accepted answer (or add a comment, and ...
2
votes
1answer
48 views

Creating Direct Limits and Inverse Limits using Tikz

I am trying to make something that looks like I am trying to go from here (works): \begin{tikzcd} A \arrow{r}\arrow{rd} &B \arrow{d}\arrow[leftarrow]{r} &C \arrow{ld}\\ &D \end{tikzcd} ...
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} ...
5
votes
4answers
162 views

How can I make TikZ nodes center on a particular symbol/operator?

Here is a small example document. \documentclass[a4paper]{amsart} \usepackage{tikz} \newcommand{\dju}{\mathbin{\coprod}} \DeclareMathOperator{\id}{id} \begin{document} \begin{tikzpicture}[x = ...
7
votes
1answer
66 views

Intersecting boxes in pst-solides3d

I need to make a picture of some 3D boxes (i.e., parallelepipeds) that intersect themselves in some complicated ways, so I tried pst-solides3d. Here's the minimal working example: A long and thin ...
3
votes
1answer
45 views

How to avoid misled inverse search caused by the picture-environment?

Below MWE shows four paragraphs of text and two vertical lines on top as shown on the left side of the following picture: By using inverse search in the PDF viewer, that is, by clicking on any text ...