Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [pgf-pie]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
68 views

Attributes are being printed as text inside pgf-pie, causing “There is no … in font nullfont!” errors [duplicate]

pgf-pie keeps giving me headaches. This is my LaTeX code: \documentclass{article} \usepackage{pgf-pie} \begin{document} \begin{tikzpicture} \pie[color={black!10, black!20, black!30}] {62/\TeX\ ...
0
votes
0answers
15 views

Follow-up question on how to change “inside” text to “outside” text using a modified pgf-pie

This question concerns Bordaigorls answer and the use of his modified pgf-pie package given here: How can I make a pie chart which automatically changes 'inside' text to 'pin'. (Sorry ...
2
votes
1answer
87 views

Pie chart with joined legend position

I'm a LaTeX rookie so I'm hoping someone will be able to help me. I've been stuck with this figure for quite some time and haven't found a solution. Specifically, I have made 2 pie charts next to ...
2
votes
2answers
131 views

Using pgf-pie to draw pie charts without labels on the slices, but still able to label the individual slices

I am trying to use a pie chart to represent, well, a pie. I want to label the chart as follows: but I want the percentages to not appear on the slices. I added /tikz/nodes={text opacity=0,overlay} to ...
5
votes
2answers
91 views

Iterate over colors on next pie chart with pgf-pie

Currently, if you have two pie-charts, it will start again with color0. Is there any possibility to start with the next color (the one after used by the previous pie-chart) \begin{tikzpicture} \...
1
vote
1answer
52 views

How to remove the percentage numbers in “pgf-pie”

Could you tell me how to remove the percentage numbers in a pie chart using the "pgf-pie" package? I got the following working code example, but as I said I would like to remove the perecentage ...
1
vote
0answers
49 views

Pie chart where the whole pie is just one slice

I have one pie chart and there is just one area, i.e. the whole pie is just one slice. This looks like this: \begin{tikzpicture} \pie[radius = 1, color = {gray}, sum=auto]{1/} \end{tikzpicture} ...
3
votes
1answer
55 views

Align several pie charts in table

I want to align several pie charts of different sizes in one table. Specifically, I want that these pie charts are horizontally and vertically aligned such that the centers of the pie charts are on ...
3
votes
2answers
246 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
55 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] %\...
1
vote
0answers
409 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 ...
2
votes
2answers
133 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
24 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
35 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
108 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? \...
4
votes
1answer
855 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
42 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
45 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
346 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
204 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
115 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
551 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
412 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
977 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
84 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
416 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
569 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
450 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
202 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
359 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
145 views

Latex: picture near text

I need to have a pie char near a descption block like: ----------------------------------- | Righe totali | | | Completezza | pie chart | | | | -...
2
votes
0answers
385 views

pgf-pie: not show numbers [duplicate]

I have the code: \documentclass{article} ...
1
vote
0answers
406 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
1k 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
109 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
333 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
757 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
362 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
489 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
767 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
291 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
149 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
536 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
691 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
143 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
899 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={...