The tag has no wiki summary.

learn more… | top users | synonyms

25
votes
3answers
6k views

How to design a 3D donut pie chart with pgf-plot?

It seems that pgfplots users don't like pie charts but sometimes we can't go without (for some reasons). So I was wondering if there was a way to make what is called a donut chart. For example one ...
25
votes
2answers
3k views

How can I produce a 'ring (or wheel) chart' like that on page 88 of the PGF manual?

I really like the 'ring chart' or 'wheel chart' given as an example on page 88 of the PGF manual. It is like a pie chart, but with a label in the centre. Unfortunately, the manual doesn't give the ...
21
votes
3answers
308 views

Chart showing the relative number of pages in the document

I'm playing with the idea of adding a chart in the begining of my thesis, showing the relative dimension of each chapter (or section, maybe). This is something that I would want to generate ...
18
votes
2answers
1k views

How to minimize the ink-to-data ratio for pgfplots

Tufte advocates to "minimize the ink-to-data ratio" for charts. I am trying to style a multi data series bar chart, that can have a grid and axes as shown below (chart at the left is from the ...
18
votes
1answer
1k views

Drawing timeline

I have a dataset which consists of repeating events over time. Each event takes an arbitrary amount of time. I could plot this using gnuplot but am unable to produce correct keys because of the ...
16
votes
3answers
864 views

Is there a charts package for LaTeX?

I wanted to include some more or less complex charts into my LaTeX document. I have attached a picture that shows an example how it should like. Is there any charts package in LaTeX that allows me to ...
14
votes
1answer
755 views

Best package for drawing dance charts

I want to draw dance step chart. Something similar to I was wondering if maybe dedicated package exists or is my only option to use "normal" drawing tools. Maybe something like Tikz? Does anyone ...
13
votes
3answers
1k views

Which LaTeX package is needed to draw radar-like diagrams?

Can you please suggest some LaTeX package of drawing charts in the format mentioned below? It should offer the possibility to put text as "Text A" as well as "Text B" . Note: Currently I'm using ...
11
votes
1answer
395 views

(ConTeXt MkIV) Text in PiechartMP

So I need to include some pie charts in my document. As I'm using Metapost for all graphics I tried using the PiechartMP Metapost package. But for some strange reason no text shows up, just a very ...
9
votes
3answers
1k views

Replicate this chart using LaTeX

I need to replicate this chart using LaTeX, I understand that TikZ should come in handy: Can anyone please show me the best and easiest way to render the chart? Any ideas, tips, nudges in the right ...
9
votes
1answer
1k views

Create a ring diagram in TeX

To make it short, I am searching for a 2D variant of this plot How to design a 3D donut pie chart with pgf-plot? Especially the label for each segment are important for my application. I don't need ...
9
votes
1answer
361 views

Pie Chart with text outside pie

I'm able to draw pie chart using tex code mentioned below: \documentclass[landscape,a3paper,11pt]{article} \usepackage{pstricks-add} \usepackage{pgfplots, pgfplotstable} \begin{document} ...
8
votes
3answers
669 views

How to give different color to each pie?

I've gone through the answer in Package for pie charts. Can you please suggest, how to give different color for each pie?
8
votes
1answer
525 views

How can I make a graph with irregular time/date intervals on the x-axis?

I have a data set that has values for a set of dates, but these dates don't have a regular interval (i.e. 1 Feb., 3 Feb., 15 Feb., 5 March) . So my question is: is there a package or other method to ...
8
votes
1answer
1k views

How to create a bubble chart with LaTeX

Is it possible to create bubble charts with LaTeX that plot 3-4 dimensions in one diagram? In the following plot X and Y specify the location, size the size of the bubble. It would be nice to use a ...
8
votes
1answer
253 views

How can I create geocharts in LaTeX?

What I need is something like this: The problem with this R package is that you can't export into pdf format to include in a LaTeX document. Any suggestions?
8
votes
1answer
330 views

Motion Chart in Beamer

I am looking for a way to integrate a Google motion chart in a beamer presentation. I read that I can integrate a swf movie, but Google charts work online. Ok, I can insert a link to the webpage, but ...
7
votes
2answers
617 views

Two-sided bar chart

I strive to make a bar chart displaying opinions for and against different topics. I tried to do this with pgfplots starting from bar and interval bar charts. Bars to both sides can be archived ...
7
votes
1answer
487 views

pgfplots: Aligning multiple bars and marks horizontally along symbolic X-axis

I want to plot average values of some measure as bar charts with error bars and its maximal values as marks above the bars. I use two separate plots for that now. The problem is aligning marks with ...
6
votes
2answers
659 views

Pie chart with values as angles not percent

I want to draw the following pie chart, where in the divisions are mentioned in angles, not percentage. Please help
6
votes
1answer
429 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 ...
6
votes
1answer
303 views

How to differentiate many lines in a chart? [duplicate]

I create a chart with many (actually 10) lines in different colors (see example). I want to make it as easy as possible to differentiate the different lines. Some possibilities I have in mind: ...
6
votes
1answer
210 views

Pie Chart : Overlapping Text

I'm able to draw pie chart using tex code mentioned below: \begin{center} \begin{pspicture}(-7,-4)(7,4) \psset{unit=1.2} ...
6
votes
1answer
1k views

Horizontal bar-charts in PGFPlots: “point meta” messes with alignment

I'm drawing a rather unusual bar-chart to display the results of a small survey. The axis of the chart extends in both the negative and the positive domain. However, there is no zero and all values ...
6
votes
1answer
259 views

How to draw a punchcard in Latex [duplicate]

I would like to draw a punchcard in Latex as shown below. But i just can't find any information how to do this (not even in the manual of tikz). The only thing i can find is information about bubble ...
6
votes
0answers
255 views

Creating Donut chart [closed]

I have seen a donut chart, but it does not look like a ring, rather the portions of the ring are disjoint. 2D version 3D version How to create them? Related Questions: 1. How to design a 3D ...
5
votes
1answer
1k views

How to enforce printing the decimal part in pgfmath macros?

I have the opposite problem to this question. I want the decimal parts of an integer printed for consistency's sake. I already tried specifying the precision but without success. See below. ...
5
votes
2answers
387 views

How to plot the graph below?

May I know how to draw the graph as shown below? below is a code I have try but with look and feel that is quite far away from the example: \begin{tikzpicture} \begin{axis}[ legend pos=north ...
5
votes
1answer
422 views

How to customize the arrows of this flowchart?

\begin{document} \pagestyle{empty} % Define block styles \tikzstyle{decision} = [diamond, draw, fill=white!20, text width=5.5em, text badly centered, node distance=5cm, inner sep=0pt] ...
5
votes
1answer
623 views

Tikz Hierarchical Chart - Branching

I am trying to get Rachel Brown all on one line, and below Rachel Brown - three branches that say Mary Brown, Laura Brown and Emma Brown. I am also trying to get ages to show below each name, for ...
5
votes
1answer
2k views

pgfgantt, wrap text in label

I have task explanations that are pretty long and because of that it is pushing my gantt chart off of the page. Is there anyway to be able to wrap the text so that it continues below the task title? I ...
4
votes
1answer
228 views

Rotating a pie chart

How can I rotate a pie chart with 50,50 distribution so that it is divided vertically rather than horizontally? \documentclass{beamer} \usepackage{multicol} \usepackage{datapie} \usetheme{Warsaw} ...
4
votes
3answers
4k views

How to make pgfgantt scale to specific widths in the page? (ex. textwidth)

I'm trying to use pgfgantt to create a gantt chart for a project spanning many weeks, thus the following code would overflow through the right margin. I can't find a way to alter the size of the grid ...
4
votes
2answers
266 views

How to align text inside pie chart?

I'm creating pie chart using code below: \begin{center} \begin{pspicture}(-5,-4)(4,4) \psset{unit=1.2} \psChart[userColor={black!10,black!40},chartSep=10pt,shadow,shadowsize=3pt]{\above,\below}{}{3} ...
4
votes
1answer
38 views

Chart - Recurrent Action

How may I draw the lines that connect the arrows? This is the code I managed to write, it might be messy and untidy as I'm new to Latex \begin{center} $ \downarrow \linebreak \fbox{\parbox{4 ...
4
votes
1answer
50 views

Combining line chart data with bar plot

Context I recently got a paper published and was told that I need to convert the word file I submitted to latex for camera ready purposes. Problem is, I don't know LaTeX but I have always wanted to ...
4
votes
1answer
128 views

How can I plot the data from a table when the x column gives the difference between x values?

I want to create a "Trial Profile" chart with TikZ. My data is as follows: Height (Y axis) and time between checkpoints (X axis). y x 0 0 10 3 20 3 40 ...
4
votes
1answer
702 views

Move legend closer

I wish to move the legend for the left chart closer to the graph, and for the right graph, I wish to let the x-axis and y-axis appeared just like the left graph (so that there is some extra spaces to ...
4
votes
1answer
145 views

Decimal values in polar pie chart

I have plotted a polar pie chart in LaTeX. Here is the code: \begin{document} \begin {tikzpicture}[thick] \tikzstyle{every node}=[font=\LARGE] \pie[polar, text=inside]{10.5/A, 20.8/B, 30.2/C, ...
4
votes
0answers
366 views

Multiple ternary plots and pie charts in pgfplots

I'm trying to plot lots of ternary plots and pie charts. Ideally it should look smth like this: The pie-chart (ternary plot) on the left-hand side serves as an explanation of what is happening, ...
3
votes
1answer
283 views

Showing all the decimal numbers on the y axis clearly in a given chart

I would like to show my y axis as follows: Here is my code: \documentclass[english,12pt]{standalone} \usepackage{tikz} \usetikzlibrary{patterns} \usepackage{pgfplots} \pgfplotsset{compat=1.10} ...
3
votes
2answers
192 views

How to embed a line-chart from a logfile?

I have a logfile progress.txt in the format <epoch> <space> <number> <space> <rest...> Here an example excerpt: $ cat progress.txt 1375097557 40 523 3927 26884 ...
3
votes
1answer
69 views

How to draw a scatter chart with colored text labels?

I need to create a scatter chart similar to that in this question but using text labels instead of numerics. i.e. from that example, the nodes data column should contain text label (with spaces) and ...
3
votes
1answer
244 views

Magic Quadrant Chart

Is it possible to draw "Magic Quadrant chart" in latex? This is an example of it: I don't want the exact answer. I need some clues to know if I can draw it with latex or not. If yes, would you ...
3
votes
1answer
586 views

Errors when plotting a bar chart

This is my crude attempt to create a graph from copied example. I want to plot the diseases on the Yy axis and QoL scores on x axis. It has resulted in errors. Could anyone be kind enough to point out ...
3
votes
1answer
599 views

Plot with Min/Max bar and two average points

I am trying to stop using Excel charts in my academic papers and rather use something more LaTeX integrated such as Tikz. My current Excel chart looks like that: As can be seen, any combination from ...
3
votes
3answers
493 views

Join arrows and wide nodes with tikz

I want to create a flow chart with tikz that looks like this: ------------------------------- | wide node | ------------------------------- | ...
3
votes
1answer
125 views

visualize parallel operations

I have a small dataset of operations which I want to display. The operations each have a name, a start time and an end time (in milliseconds). For example: Operation 1: 0 to 3000 Operation ...
3
votes
0answers
325 views

Generating Gantt Charts for process scheduling

I am trying to create a gantt chart for my thesis on blocking analysis. I know of the pgfgantt package for generating gantt charts. But this package generates charts for normal schedules, what I need ...
2
votes
1answer
120 views

number and size of slices in a chart with tikz

In this chart I can determine the number of slices, but not the size of slices. How to determine the size of each slice ? Thanks for your help \documentclass{article} ...