Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pgf-pie]

{pgf-pie} concerns the TikZ-pgf based pie chart plotting package pgf-pie

3
votes
2answers
162 views

Different circular sectors as new logo of the International System

This question does not ask the user to provide me a full MWE, but simply to obtain any information step by step as to create different circular sectors. This image is taken from the site: https://www....
1
vote
2answers
45 views

Tikz figure in Table

Here is my code: \documentclass{article} \usepackage{fullpage} \usepackage{pgf-pie} \usepackage{tabularx} \usetikzlibrary{decorations.text} \usepackage{ifthen} \begin{document} \begin{table}[ht] %\...
0
votes
0answers
147 views

! LaTeX Error: File `pgf-pie.sty' not found

I run my tex-doc on a pc and a mac. Unfortunately it does not compile on my mac anymore. I get following message: ! LaTeX Error: File `pgf-pie.sty' not found. After updating Texmaker, reinstalling ...
1
vote
1answer
62 views

Customizing Half Pie Chart Labels with tikz

There's a nice answer to a pie chart question over here. I tried to bend it to my needs but found some aspects difficult. Specifically: I'd like to be able to manually adjust the labels. Rather ...
2
votes
1answer
19 views

highlighting parts of pgfpie in Beamer

I was wondering if there was a way to highlight a section of a pgfpie pie graph in a Beamer presentation. One way I managed to make it work was to copy the entire figure, change the color of the ...
1
vote
1answer
22 views

using Beamer alert in pgfplots figures

I would like to add \alert to certain parts of graphs in a Beamer presentation while I'm talking about them, namely highlighting pgfplots values. I managed to higlight labels by using \alert<2>{...
1
vote
1answer
44 views

pgf-pie - Show absolute values instead of percentage

I want to make a pie chart with pgf-pie that shows not the percentage inside the pie but the absolute values. For example 15 males and 3 females in my example below. Is this possible with pgf-pie? \...
3
votes
1answer
466 views

Problem generating pie chart with pgf-pie package

I am having troubles with TexStudio making pie charts with the pgf-pie package. I literally copied a fragment of this template: https://es.overleaf.com/latex/examples/drawing-pie-charts-with-pgf-pie/...
2
votes
0answers
37 views

Unaligned Subfigures blocking each other

I have the following piecharts in two subfigures, however: One of them is blocking the legend as shown in the picture. Is there any workaround? I tried modifying pgf-pie (thanks Xu Yuan!)but to no ...
2
votes
0answers
36 views

Separated Pie Slice Styles

I refer to the question discussed: Fractions inside the pieces Now, I could not find out two more things: (1): How to label selected pie slices? The option /tikz/nodes={text opacity=0, overlay} ...
2
votes
1answer
230 views

PGF-PIE issues due to small values

I have to include quite small values into my pie chart. Unfortunately the values are quite difficult to decipher. Is there an easy way to set small values (or all values) outside the pie and connect ...
4
votes
1answer
161 views

Tikz - Pie chart with many data

I am trying to present data in a pie chart using Tikz. I used the pie chart example from texample.net. My problem is that I want to present a lot data, therefore many slices and as a result the pie ...
2
votes
1answer
86 views

pgf-pie : Dimension too large

I used the package pgf-pie to generate pie chart. The option sum=auto compute automatically the sum of all value. The following MWE give Dimension too large because this reason. \documentclass{...
7
votes
2answers
469 views

Multi-layer Donut Pie

I'm trying to draw a multi-layer donut pie, such as Here's a first try, but I don't know how to draw the inner donut. \documentclass[preview]{standalone} \usepackage{tikz} %%%%%%%%%%%%%%%%% %Donut ...
2
votes
0answers
341 views

Pie Chart - Problems with font size

I am now working on a pie chart and i have a problem about the size of the number. Is there any way to make only the "1%" and "2%" smaller so that i can be seen clearly in the chart. (or make an arrow ...
2
votes
1answer
805 views

Tikz Pie Charts

Is there a way to make a pie chart with Tikz so that the labels are not numbers (e.g. 30/70 in my example) but the labels are displayed as variables (e.g. omega and 1- omega)? Here is what I ...
0
votes
1answer
81 views

Pie Chart Doesn't Close [closed]

\begin{document} \begin {tikzpicture}[scale=0.65] \pie [sum=100]{46.5/, 31.6/, 8.2/, 13.7/} \pie [text=legend,pos ={7.9,0}]{46.8/Limerock, 31.9/Sand,7.5/Water,13.8/Cement} \end {tikzpicture} \...
4
votes
1answer
358 views

How to hatch pie charts in Tikz pgf?

I am trying to implement Bordaigorl's answer to create pie charts with patterns. However, with my MWE I get the following errors: Package pgfkeys Error: I do not know the key '/tikz/slice type/....
1
vote
2answers
481 views

How can I make a pie chart which automatically changes 'inside' text to 'pin'

How can I create a pie chart where if one of the labels doesn't fit, it will switch from having the text inside to being pin, or define it manually for each part, using pgf-pie, like this? So far I ...
1
vote
1answer
388 views

How to make disappear some weird numbers in a pie chart with pgf-pie

I am trying to make a simple pie chart with pgf-pie, but for a reason unknown to me the labels I use don't display correctly. Here is the chunk of code I've copied from the manual into my .tex file :...
0
votes
1answer
173 views

How to create Circular classification taxonomies in Latex?

How I can make the following Circular taxonomy in Latex. It’s for a literature review. I can draw this in Microsoft Visio or other software but I want add the references in the text as well in each ...
3
votes
1answer
298 views

PGF-Pie - How to combine with \pgfplotstableread

I was wondering how I can add a pgfplotstableread to this pie-chart. I have already defined one for you, but it is not linked to the table yet. \documentclass{article} \usepackage{tikz} \usepackage{...
2
votes
3answers
139 views

Latex: picture near text

I need to have a pie char near a descption block like: ----------------------------------- | Righe totali | | | Completezza | pie chart | | | | -...
1
vote
0answers
291 views

pgf-pie: not show numbers [duplicate]

I have the code: \documentclass{article} ...
0
votes
0answers
315 views

Set legend of piechart pgf-pie under the figure [duplicate]

Is it possible to move the legend of the pie-chart under the figure instead of having it on the side? Moreover, how can I label and add a caption for each piechart? I want to piechart one next to ...
1
vote
1answer
998 views

How to put small numbers outside the pie slices without making a mess

I'm new to LaTeX and need some help with my figures. I would like to to put small numbers outside the pie slices without making a mess. Having found this thread Align 3 graph pies, I tried it out, but ...
3
votes
2answers
104 views

Center tickzpicture inside subfloats

I have this code to my pie graphs and I am trying to have the labels of the subfloats and each pie centered. Here is my code: \documentclass[oneside,12pt]{scrbook} \usepackage{tikz}%esquema \...
3
votes
4answers
2k views

Pie Chart without labels in beamer using pgf-pie

EDIT The accepted answer completely solves my immediate problem, but for more detailed analysis of the underlying issue please refer to answer by cfr. Basically, pstricks and pdfTex don't mix well. I ...
0
votes
1answer
312 views

Legend graph pie with label to the correpondent slice

I have this code to a graph pie. And I want the line to correspond to each slice, I already changed the numbers and tried do include \def\stackalignment{l} but is not working. \documentclass{...
3
votes
1answer
754 views

How to create a Pie like this?

I need to create this Pie diagram \mypie{x,y,82}{basecolor}{Fillcolor}{Some Text,L} x= radius of first circle, y= radius of second concentric circle(This is to control the size of the circle and the ...
0
votes
1answer
291 views

Align 3 graph pies

I'm trying to align these three pie charts, side by side, and to have the same legend for the three but with a title for each. But the changes that I have done, didn't work. This is my code: \...
1
vote
1answer
423 views

Pie graph with outside text

I constructed a pie chart based on a code I found on the internet and I already tried to make some changes because it's all messy and I wanted, when the percentags are too small (<3%) to have ...
2
votes
2answers
730 views

How to use colors from a pgfplots colormap in pie chart?

I like the pie chart from http://www.texample.net/tikz/examples/pie-chart/, but it's in grey color. Then I found the modified version to add colors by "Sigur" here:How to give different color to each ...
1
vote
1answer
271 views

Pie chart color problem

I am having same color for chrome and safari slices however for safari i have added yellow to cyclelist \begin{figure}[H] \begin{center} \def\angle{0} \def\radius{3} \def\cyclelist{{"brown","blue","...
4
votes
2answers
1k views

Small pie-chart without any numbers or text

Does anyone know how to draw a small pie-chart without labels? \documentclass{article} \usepackage{tikz} \usepackage{pgf-pie} \begin{document} \begin{tikzpicture} \pie[ color = {black!10, black!...
2
votes
1answer
137 views

Pie chart with grayed out areas

I want to create a pie chart, that looks pretty much like that one: I already tried pgf-pie to recreate it, but without any success. my result is far from what it should look like. However, I need ...
3
votes
0answers
487 views

Pie chart with bar chart magnification

I am trying to obtain a pie chart and bar chart on the right which shows the details (magnification) of one of the slices of the pie chart (please see attached image). I already used the code provided ...
1
vote
1answer
635 views

Help with pie chart [closed]

I'm new to use LaTeX. I'm trying to make a pie chart with pgf-pie package but when I compile, there are some number in front of the text like this: And this is my code: \begin{table}[h] \...
1
vote
0answers
104 views

pgf-pie: How can I put the percentage values in the legend? [duplicate]

In the pie chart below, how can I move the percentage numbers out of the chart, and put them in the legend on the right, with the names? I'm using the pgf-pie package. \begin{figure}[H] \begin{...
3
votes
2answers
1k views

Pie chart not using percent numbers

You see the following code, which draw you a pie chart \usepackage{pgf-pie} \begin{document} \begin{tikzpicture} \pie[rotate=20, color={white}, sum=auto, after number=, radius=2] {10/, 10/, ...
1
vote
2answers
1k views

How can I make one legend for two pie charts?

I am using the package pgf-pie and want to have two pie charts next to each other but using the same legend. How can I have the legend centered below the two charts? Mini example: \documentclass[...
3
votes
1answer
758 views

How can I change the line color in pie chart

I want to change the line color of a pie chart in LaTeX so that the line color of the slices take the fill color. Mini example: \usepackage{pgf-pie} \begin{document} \begin{tikzpicture} \pie[color={...
4
votes
0answers
51 views

pgf-pie and babel incompatibility? [duplicate]

I'm having a rather strange problem with pgf-pie: it seems not to work very well when using the babel package... See for yourself: Without babel With babel Here is the code: \documentclass[...
1
vote
1answer
408 views

Labels close to pie chart figures

I am trying to crate two pie charts side by side using tikz. I've found a code in the web that I am adapting, and so far, it seems to work. However, instead of using a separate legend below, I would ...
1
vote
1answer
222 views

pgf-pie aside block trouble

I have trouble with a pie chart (pgf-pie). I can't put pie in block aside why? \RequirePackage[absolute,overlay]{textpos} \setlength{\TPHorizModule}{1cm} \setlength{\TPVertModule}{1cm} \...
1
vote
1answer
1k views

How to do \flushleft and \flushright with tikzpictures

I have two charts, one is drawn with pgfplots, the other with pgf-pie. I want put these two chart in align horizontally, so one is on the left and the other is on the right. I have read Aligning using ...
1
vote
1answer
616 views

Pie Chart with datatool

I am totally stuck with a problem. Is there any appropriate package for pie charts? I am using datatool right now. But there are a lot of problems: E.g. the labels are overlapping. Do you have any ...
4
votes
1answer
494 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, 40....
1
vote
1answer
3k views

Problem producing a pie chart

I tried producing a pie chart with pgf-pie (which seemed easy to me), but it was not available on my system and on MiKTex. So I tried this unsuccessfully. Kindly help. \documentclass{beamer} \...
1
vote
2answers
1k views

Pie chart with values instead of percentage

First, I started using LaTeX way to late! and thanks for all the hints on this site. I looked at the answer of the following question. https://tex.stackexchange.com/questions/135393/how-to-draw-bar-...