Stack Exchange Network

Stack Exchange network consists of 174 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
1answer
63 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
32 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
30 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} ...
0
votes
0answers
42 views

How to move the percentage from the slice to the outside part of the graph?

I'm trying to make a pie chart, however, one of the slices is so tiny that the percentage is overlapping the borders. How can I move the percentage from the slice to the outside part? I saw this ...
2
votes
1answer
115 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 ...
0
votes
0answers
302 views

LaTeX pgf-pie.sty not found

I am using Texmaker with Texlive and the pgf-pie.sty was not found. Normally Texmaker asks if I want to import packages automatically but this time he does not. How do I activate this again? And also ...
3
votes
1answer
111 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
67 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
373 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
246 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
603 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
69 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
304 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
378 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 ...
0
votes
1answer
301 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
150 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
248 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
135 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
193 views

pgf-pie: not show numbers [duplicate]

I have the code: \documentclass{article} ...
0
votes
0answers
262 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
847 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
88 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
1k 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
292 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
739 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
225 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
374 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
633 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
236 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
895 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
133 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
423 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
499 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
75 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
950 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
647 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={...
3
votes
0answers
47 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
389 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
201 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
934 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
584 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
467 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-...
19
votes
2answers
27k views

Guide to draw charts (basic, pie, bar) from data

I went through the examples of using PSTricks and TikZ for drawing pie and bar chart. They looked quiet complicated to me. Is there any simple guide (blogs/text) to drawing these charts using PDFLaTeX....
9
votes
3answers
1k 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?
18
votes
2answers
23k views

How to draw Bar & Pie Chart

I'm want to include two graphs mentioned below in a document. I'm able to draw pie charts using pgf-pie. Is there any package which is capable of generating BAR & PIE Chart both? [Also which is ...
5
votes
1answer
506 views

How to change style of a node based on its name?

I've create pie charts using pgf-pie and I have exactly the same problem as in this pgf-pie issue. I changed pgf-pie code to draw small percentages outside of the main circle. But I have one problem ...
5
votes
1answer
4k views

Changing text color for charts using pgf-pie

Is possible to change text color inside pie chart using the pgf-pie package? Is possible change the color of text on a single slice of the pie? \documentclass[tikz]{standalone} \usepackage{pgf-pie} \...