2022 Developer Survey is open! Take survey.

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
2 answers
37 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{...
user avatar
0 votes
1 answer
54 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}{...
user avatar
0 votes
0 answers
52 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 ...
user avatar
  • 281
1 vote
0 answers
63 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 ...
user avatar
  • 47
2 votes
0 answers
95 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 ...
user avatar
2 votes
2 answers
51 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} \...
user avatar
  • 4,286
0 votes
1 answer
62 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 ...
user avatar
  • 195
2 votes
0 answers
52 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 ...
user avatar
1 vote
0 answers
55 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}{...
user avatar
  • 139
0 votes
1 answer
38 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 ...
user avatar
0 votes
0 answers
37 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 ...
user avatar
0 votes
1 answer
65 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://...
user avatar
  • 99
0 votes
1 answer
109 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]...
user avatar
1 vote
1 answer
124 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} \...
user avatar
3 votes
1 answer
403 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 ...
user avatar
3 votes
1 answer
157 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]{...
user avatar
3 votes
1 answer
62 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[...
user avatar
1 vote
1 answer
481 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{...
user avatar
2 votes
1 answer
85 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 ...
user avatar
  • 934
2 votes
2 answers
210 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 ...
user avatar
1 vote
1 answer
101 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 ...
user avatar
1 vote
1 answer
52 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 ...
user avatar
1 vote
2 answers
299 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 ...
user avatar
0 votes
1 answer
95 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{...
user avatar
  • 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 ...
user avatar
  • 101
0 votes
1 answer
137 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?
user avatar
  • 4,286
0 votes
2 answers
88 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, ...
user avatar
  • 4,286
3 votes
1 answer
258 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 ...
user avatar
  • 4,286
2 votes
2 answers
194 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 ...
user avatar
  • 99
0 votes
1 answer
53 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[...
user avatar
  • 99
1 vote
1 answer
492 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 ...
user avatar
  • 137
2 votes
2 answers
197 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 ?
user avatar
  • 23
1 vote
2 answers
565 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 ...
user avatar
0 votes
0 answers
75 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 ...
user avatar
3 votes
1 answer
170 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 ...
user avatar
1 vote
1 answer
215 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 ...
user avatar
0 votes
0 answers
68 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. ...
user avatar
  • 93
0 votes
1 answer
251 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[...
user avatar
  • 6,217
4 votes
1 answer
404 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 ...
user avatar
0 votes
1 answer
151 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\ ...
user avatar
  • 111
6 votes
2 answers
810 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 ...
user avatar
2 votes
2 answers
820 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 ...
user avatar
5 votes
2 answers
233 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} \...
user avatar
1 vote
1 answer
339 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 ...
user avatar
  • 421
1 vote
0 answers
89 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} ...
user avatar
  • 43
3 votes
1 answer
278 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 ...
user avatar
  • 43
3 votes
2 answers
350 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....
user avatar
  • 46.2k
1 vote
2 answers
103 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] %\...
user avatar
3 votes
1 answer
3k 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 ...
user avatar
  • 428
2 votes
2 answers
481 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 ...
user avatar
  • 1,969