Questions tagged [pgf-pie]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
32 views

Add multiple-line legend entry to a pgf-pie chart

I've got a pgf-pie chart with a legend. One of the entries is too long to fit on the page and regular LaTeX line-breaking commands don't seem to work. MWE: \documentclass[tikz, 12pt, a4paper]{report} \...
2
votes
1answer
24 views

Put small numbers outside of a pgf-pie chart

I have a pgf-pie chart and some of the values are so small that the number does not display correctly. Therefore I would like to put them outside of the chart, as seen on the second picture I found on ...
2
votes
1answer
15 views

Centering a pgf-pie chart with legend with respect to center of the chart, not the entire figure

I have a pie chart with a legend at the side made using pgf-pie. It is centered with respect to the center point of the entire figure, including the legend. MWE: \documentclass[tikz, 12pt, a4paper]{...
3
votes
1answer
45 views

pgf-pie not properly rendering accented i - í

In the legend of my pgf-pie chart, I am using accented i character - í. For some reason, it appears as a number with the accent sign instead of the actual letter when compiled. MWE: \documentclass[...
1
vote
1answer
39 views

Put percentages outside of pie chart

unfortunately you can't read the percentages in the small pie pieces. Is there an easy solution for that? Putting the percentages outside the pie or to the legend? \documentclass{article} \usepackage{...
2
votes
1answer
70 views

list of colors in a pie chart with variable number of slices

Based on several codes found here and there on this forum, I built a simple code for creating a pie chart with a variable number of slices, see below. Right now, I am able to make the color of slices ...
2
votes
2answers
82 views

Hide some numbers - PGFpie

I am dealing with package pgf-pie to draw some pictures. However, I would like to hide some percentages, that the smaller, because they don't fit in the sectors. I would just like to leave the ones ...
1
vote
1answer
47 views

How to create a pie chart with different text label styles using pgf-pie?

I'm trying to create a pie chart similar to this one. Reading the documentation for pgf-pie and it doesn't seem to have options for having multiple styles of text (text=pin, text=inside etc) for ...
1
vote
1answer
33 views

Add extra text to Pie Chart

I would like to add extra text under the legend or next to pie chart where it looks good. But I don't know how. Can someone help me? Would like to add: n = 77 77 is the total of all pie-pieces. Thank ...
1
vote
2answers
71 views

Align Tikz-Pie-Chart caption with chart

I am trying to align the caption of a pie-chart that I create with the tikz pgf-pie package. The goal is to have multiple pie-charts next to each other in one line. So far I tried creating a figure ...
0
votes
1answer
58 views

Replace number in pgf-pie

I am using pgf-pie to create pie charts. Usually, the number is written into the slices. I would like to replace the number by another string and the same time keep the description pinned. \begin{...
0
votes
0answers
22 views

labels with debug information [duplicate]

On macOS, I tried the following: \begin{tikzpicture} \pie{47/Rice,32/Wheat,22/Other} \end{tikzpicture} What I observe is not what I expect with labels: It is like there is some debug info attached to ...
0
votes
1answer
64 views

Is PGF-Pie part of TeXlive nowadays?

According to Nikola Talbot, PGF-Pie used to be part of MikTeX, but not of TeXlive. Is this still the case and if not, in which version was PGF-Pie introduced to TeXlive?
0
votes
2answers
56 views

Why does pgf-pie create so many “Missing character: There is no b in font nullfont!” errors?

I am trying out pgf-pie and even simple examples seem to have some bug, because I get lots of Missing character: There is no b in font nullfont! errors and if I put all errors one after each other, ...
2
votes
1answer
110 views

How can I make default settings for pgf-pie and have different color for text on pies and outside of pies?

I am using pgf-pie for simple pie-diagrams and would like to define a color scheme that is used by default for all charts. As it seems pgf-pie does not offer styles or color lists by default, hence I ...
1
vote
2answers
82 views

Pie chart displays incorrect percentage

Pie charts in my document are displaying incorrect percentage with following code. Min value is 0 and max value is 104. For example, out of 104, correct answers are 42.3%, 29.8% and 26.9%, but values ...
0
votes
1answer
41 views

Making colors consistent in side by side Pie Charts

can anyone please help me to change the color from dark blue to light blue in these charts. Thanks! begin{centering} \begin{subfigure} \footnotesize \begin{tikzpicture} \begin{scope}[scale=0.7] \pie[...
1
vote
1answer
147 views

How to add caption for each pie chart (creating with tikzpicture) in tabular environment?

I have created the following figure in tabular environment for two different pie charts. But I am unable to give caption to each of them in their respective cell. I used the following code and I was ...
2
votes
2answers
134 views

Draw a pie chart with a blank circle inside

I want to draw a tikzpicture pie chart look with legends look like this: How do I do that ?
1
vote
1answer
291 views

Installing pgf-pie in macosCatalina (command line)

I'm trying to install the pgf-pie package here in macOS Catalina 10.15 I've followed the steps: downloaded pgf-pie.sty here: http://linorg.usp.br/CTAN/graphics/pgf/contrib/pgf-pie/ used kpsewhich ...
0
votes
0answers
56 views

Modifying a sunburst chart with % symbols and joint legend

I copied a code from this post to make a sunburst chart, but I need to make 2 modifications that I haven't been able to work out: is to add % into the text, and is to create a joined legend for both ...
3
votes
1answer
149 views

Scatterplot inside a square pie chart

Does anyone know how to do a scatterplot inside a square pie chart? I know I'm supposed to provide a MWE but but I'm very clueless of where to begin. What I'd need is 2 square pie charts within the ...
1
vote
1answer
99 views

2 pies in one figure with same legend and separate chart labels

I'm trying to create 2 pie charts within the same figure. The problem is I want them both to have the same legend, but I cannot manage that. The package seems to assume that each individual pie needs ...
0
votes
0answers
52 views

custom legend below figure

I have the following code and would like to set the legend below both subfigures in the centre. It would also be great to have subcaption (a) to be positioned horizontally with the corresponding pie. ...
0
votes
1answer
148 views

pgf-pie: How to change text-position in a square pie?

Is there a way, to shift the texts in the lower left corners; with other words: how to hack the default of the package pgf-pie.sty? Note that I use fictional percentual values. \documentclass[...
4
votes
1answer
237 views

pgf-pie - Show only values greater than 0

I have three pie charts for which I only want to create one legend. For this purpose, only the third diagram contains a legend. But my third diagram contains only one value. To create the legend, I ...
0
votes
1answer
116 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\ ...
5
votes
2answers
443 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
551 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
174 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
274 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
81 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
185 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
324 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
82 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] %\...
2
votes
0answers
2k 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
332 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
44 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 ...
2
votes
1answer
85 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>{...
2
votes
1answer
362 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
2answers
2k 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
53 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 ...
3
votes
1answer
145 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
834 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
346 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
280 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
807 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
716 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 ...
3
votes
1answer
2k 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
128 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} \...