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
1 answer
69 views

Arrow Tip of rounded arc has no contour

Currently, I'm working on an exploded pie chart with a bended arc indicating the direction of a process. My problem is that the bended arc I used as an arrow has no contour at it's arrow tip. Also, ...
1 vote
1 answer
98 views

Changing the position of a plot in tikzpicture and its caption

I want to achieve the following. Reference figure is attached. In figure 16.1, print 1% in the same way as highlighted in red in the attached figure. Move figure 6.4 to the left (under figure 16.1). ...
0 votes
2 answers
60 views

Pgf-pie in subfigure

I have the following code that draw four pie-chart using subfigure: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{subfigure} \usepackage{pgfplots} \usepackage{pgf-pie} \usepackage{...
0 votes
1 answer
65 views

Include a pie chart in LaTeX beamer template [duplicate]

I want to draw a pie chart in LaTeX beamer template, but something wrong happened. The code is as follows: \usepackage[utf8]{inputenc} \usepackage{pgf-pie} \usepackage{xcolor} \begin{frame}{...
0 votes
0 answers
198 views

How to prevent overlapping labels in a pie chart?

I would like to know how to prevent the labels of a pie chart from overlapping and to have more control over their position? I am using the pgf-pie package, I don't know if it is possible to easily ...
  • 335
1 vote
0 answers
116 views

Nested pie chart

I know I'm asking a lot. But by chance, is there someone who knows a package capable of drawing nested pie chart in Latex ? Something like this : PS : It's more curiosity than real need, Python does ...
  • 47
2 votes
0 answers
239 views

Pie chart with legend position south

I tried the legend to the south code from this question (see code below): Pie chart with joined legend position but it unfortunately does not work. If i change yshift to a fixed value it work. BUT ...
2 votes
2 answers
52 views

How can I store colors to be reused later for pgf-pie charts?

I am trying to store a set of colors in the corresponding pgf key and then recall it later. However attempting to do this: \documentclass{standalone} \usepackage{pgf-pie} \begin{document} \...
  • 4,868
0 votes
1 answer
84 views

Is there a way to fix a conflict between pgf-pie and tkz-euclide error undefined control sequence @t noexpand?

I am using Overleaf. If I load both tkz-euclide package and the pgf-pie package, I get the following error for each pie graph: pgfpie @t \noexpand and the graphs do not display the labels of the ...
  • 335
2 votes
0 answers
59 views

repositioning tikz-pins in pie chart

I only want to know if anyone has an idea on how to reposition the tikz-pin in a way that they look like the pins in the example picture without creating extra nodes? this is my code so far: P.S.: if ...
1 vote
0 answers
60 views

Customize the positioning of label and percentage in pie chart TikZ

I'm trying to personalize a pie chart in TikZ, mainly the lines, percentage, and label positions. I have the following figure and the script: \definecolor{rosso}{RGB}{232,76,61} \definecolor{giallo}{...
  • 149
0 votes
1 answer
41 views

Two figures side by side - positioning issue

I need to put these two pie charts side by side ... to position in a CLEAN AND DECENT way while not going over page margin. It is currently okay but not really satisfying. Positioning the pie chart ...
0 votes
0 answers
42 views

Why Pie chart is deslocating labels? How to fix it?

I have a tikzpicture with several nodes. Inside each node I am drawing a tikzpicture with something. Some nodes have charts, others have flowcharts etc. Everything seems fine. The problem is when I ...
0 votes
1 answer
84 views

Subheadings for Pie charts

Can anyone help me for writing subheading on top each Pi chart with the following code. Please see the example picture \documentclass[border=5mm]{standalone} \usepackage{pgf-pie} % version: https://...
  • 99
0 votes
1 answer
153 views

Reduce horizontal gap between legend and pie chart

How to reduce the gab between the pie chart and legend. Following is my code \documentclass{article} \usepackage{pgf-pie} \usepackage{tikz,pgfplots,pgfplotstable} \begin{document} \begin{figure*}[h]...
1 vote
1 answer
168 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} \...
3 votes
1 answer
572 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 ...
3 votes
1 answer
237 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
1 answer
64 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
1 answer
680 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
1 answer
106 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 ...
  • 934
2 votes
2 answers
282 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
1 answer
138 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
1 answer
104 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
2 answers
373 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
1 answer
102 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{...
  • 1
0 votes
0 answers
24 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 ...
  • 101
0 votes
1 answer
177 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?
  • 4,868
0 votes
2 answers
96 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, ...
  • 4,868
3 votes
1 answer
305 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 ...
  • 4,868
2 votes
2 answers
250 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 ...
  • 99
0 votes
1 answer
56 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[...
  • 99
1 vote
1 answer
636 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 ...
  • 137
2 votes
2 answers
223 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 ?
  • 23
1 vote
2 answers
620 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
0 answers
78 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
1 answer
175 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
1 answer
263 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
0 answers
83 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. ...
  • 93
0 votes
1 answer
292 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[...
  • 6,357
4 votes
1 answer
463 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
1 answer
156 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\ ...
  • 141
6 votes
2 answers
921 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
2 answers
915 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
2 answers
248 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
1 answer
356 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 ...
  • 421
1 vote
0 answers
92 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} ...
  • 43
3 votes
1 answer
297 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 ...
  • 43
3 votes
2 answers
356 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....
  • 46.8k
1 vote
2 answers
109 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] %\...