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
2answers
41 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
44 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
43 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
26 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
32 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
79 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
90 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
46 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
111 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
44 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
45 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
102 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
138 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
96 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
40 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 ...
4
votes
2answers
230 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
366 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
139 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
176 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
65 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
101 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
278 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
72 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
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
246 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
38 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
61 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
243 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
47 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
100 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
618 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
281 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
195 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
690 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
564 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
1k 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
107 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
560 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
3answers
822 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 ...
2
votes
1answer
587 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
271 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
420 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
151 views

Latex: picture near text

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

pgf-pie: not show numbers [duplicate]

I have the code: \documentclass{article} ...
1
vote
0answers
665 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
2k 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
117 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
360 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{...