Questions tagged [charts]

For question about how to create different kinds of charts (e.g., bar charts or pie charts).

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

Help with Graphs in LaTeX

do you know how to create these graphics? I am new to LaTeX, so I need some help.
user avatar
  • 1
2 votes
0 answers
87 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
1 answer
46 views

Rotating a Tabular Chart and a Nontabular Title to Fit the Page

I am working on producing a tabular chart that is too large to be presented on a page in portrait form; so I would like to rotate it (as well as its title which is technically not part of the tabular ...
user avatar
1 vote
1 answer
469 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
3 votes
2 answers
75 views

How to draw top down tree chart of following

\documentclass[11pt, oneside]{article} \title{Brief Article} \begin{document} \end{document}
user avatar
1 vote
1 answer
144 views

Plotting resistance and reactance curves on the Smith Chart

For my class, I have been trying to plot constant resistance and reactance curves on the Smith chart. While the latter appears to be straightforward, the only way I can think of for the former is ...
user avatar
1 vote
0 answers
68 views

Software for drawing LaTeX flowcharts and control system diagrams [duplicate]

Tell me the full program software for drawing LaTeX diagrams and control systems schemes. For example: I know TeXample and Overleaf, but I own it badly, because writing these schemes in the ...
user avatar
  • 165
1 vote
1 answer
51 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
0 votes
2 answers
89 views

how can I draw this organization chart by using "forest"?

how can I draw this organization chart by using "forest"? or other methods?
user avatar
1 vote
1 answer
67 views

Area chart in LaTeX but with an unknown number of columns

I wanted to draw an area chart like the one seen in this question, but I want to use a file like this one, where the number of columns is unknown: Generation,Dog,Cat 0,100,4800 1,200,4700 2,100,4400 3,...
user avatar
0 votes
1 answer
51 views

How to have multiple children in multiple branches?

I'm trying to get this organization chart. But my attempts failed to reproduce it. If someone knows how to put multiple children in multiple lines/levels, connected to one node, please show me. It is ...
user avatar
2 votes
1 answer
239 views

How to make a sunburst chart in Latex?

"Sunburst Chart — also known as Ring Chart, Multi-level Pie Chart, and Radial Treemap — is typically used to visualize hierarchical data structures." What I am looking for is not exactly the ...
user avatar
0 votes
0 answers
97 views

Gantt chart spacing, time unit change

The chart being produced is too wide, I only neede the unit of time every three-six months rather than every month? what is the valid format of the time unit to change this? e.g. i have tried 'x3 ...
user avatar
0 votes
0 answers
65 views

Convert Excel spreadsheets data to LATEX graphic

Does anybody know a xla to Convert Excel data to a LATEX native graphic? For tables we can use this module https://ctan.org/tex-archive/support/excel2latex?lang=en I know you can save as a picture but ...
user avatar
3 votes
4 answers
522 views

Making a chart-like graph in latex (for Number Theory)

I had been taking my Number theory class notes in latex and all is done except one last bit (which I have been postponing for ages now!). I am trying to find the best way of transferring the following ...
user avatar
1 vote
1 answer
599 views

tikz pgf place legend pie chart

I am very happy with the solution to Pie chart labels, but I wonder how I can place the legend to the right of the pie. For that, I like the idea of Pie chart with joined legend position - to add, in ...
user avatar
  • 799
1 vote
1 answer
271 views

How to make this product pipeline figure?

Is there a way to make such a figure? I tried gantt charts, but those aren't what I wanted. \documentclass[tikz]{standalone} % % This is a direct copy of the codes in section 2.9 of the package % ...
user avatar
  • 199
2 votes
1 answer
26 views

Getting all figures on a single page

I have 6 images I would like on one page, however only 4 appear on one page and the other 2 appear on the second page. Any ideas how I can fix this? Many Thanks \documentclass[12pt]{article} \begin{...
user avatar
3 votes
1 answer
121 views

Aligning nested donut shaped chart in tikz

I'm trying to do a nested donut-shaped chart in tikz for the percentage of different cell types used in recent studies with MEA systems. The outer layer is divided in two: Non-neuronal and neuronal ...
user avatar
0 votes
1 answer
48 views

How to draw simple bar chart for the following data?

I need to draw a simple bar chart for the following sample data. I checked some example but they are very difficult to understand. I used a tikzpicture environment. \begin{filecontents*}{data3.csv} ...
user avatar
  • 277
1 vote
1 answer
106 views

How to draw a Horizon Chart in tikz?

So Horizon Chart looking like this: Allows a simple representation of pages of function plots that can be examined individually, yet at the same time showing the big picture and function correlations....
user avatar
  • 289
2 votes
1 answer
179 views

Dowsing chart book with Tikz with full circle (2)

I works between science and geobiology in France and I would like to create custom dowsing charts which would looks like the exemples above : Those charts are for longer text and they have to be in ...
user avatar
  • 33
1 vote
1 answer
209 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
2 votes
2 answers
230 views

pgfplots: Change legend shape

I have this code... \documentclass{article} \usepackage{float} \usepackage{pgfplots} \usepgfplotslibrary{dateplot} \pgfplotscreateplotcyclelist{colour-list}{ red,style={fill=red}\\ orange,style={fill=...
user avatar
1 vote
1 answer
63 views

Aligning two side by side charts with absolute center of page

I always have trouble getting charts properly centered. They always seem to stagger off to the right hand side of the page. Notice how the example images are perfectly centered as if they're a single ...
user avatar
  • 1,959
6 votes
2 answers
798 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
474 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,959
1 vote
1 answer
114 views

Decimal values in pie charts in latex \usepackage{pgf-pie} does not accept the decimal values in pie charts

\newcommand{\slice}[4]{ \pgfmathparse{0.5*#1+0.5*#2} \let\midangle\pgfmathresult % slice \draw[thick,fill=red!10] (0,0) -- (#1:1) arc (#1:#2:1) -- cycle; % outer label \node[label=\...
user avatar
1 vote
1 answer
420 views

Direction of axis ticks in tikzpicture

When plotting a bar chart using the following example, the ticks of the y axis are directed to the inside, the ones of the x axis to the outside. How can I make it so they both show on the inside and ...
user avatar
  • 113
0 votes
0 answers
196 views

What to use in latex to create graphs, charts, tables?

I made my research and I found out that you can do this customly by giving commands in Latex. Since I'm new to this environment, is there any good online tools that could be used, and allow this ...
user avatar
1 vote
1 answer
114 views

Change the color of two consequence bars

I have a bar chart where the first bar of each of two bars have the same color and the same for the second bar. The bar chart I have is the following: The code to produce it is: \documentclass{...
user avatar
1 vote
1 answer
98 views

Two consequence bars in a chart

I have bar chart that consists of 4 bars. I want to add extra four bars so that I can compare the result of each algorithm before and after a certain modification. the bar I have is the following: ...
user avatar
2 votes
1 answer
440 views

gantt chart issues

I have two problems: The title of the gantt chart contains dotted lines that I don't want. Is it possible to also provide the progression of the taskbars? If so, how would that be done? ( please see ...
user avatar
0 votes
1 answer
296 views

Help Modifying Sunburst Chart Code for Genealogy Purposes

I took code previously posted here: Is there a way to make "sunburst charts" (multi-level pie charts) in LaTeX? And I wanted to modify this for genealogy purposes. I have the setup I would ...
user avatar
  • 35
2 votes
1 answer
154 views

Align center a chart and a table of different sizes side by side

I am new to latex, I am trying to figure out how to align center these two together. Below is what I have: Here is my goal: My code is below. \documentclass{article} \usepackage{geometry} \...
user avatar
  • 123
3 votes
1 answer
215 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} ...
user avatar
1 vote
2 answers
836 views

Adding extra label on upper axis X

lets consider following source code: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.13} \begin{document} \begin{tikzpicture} \begin{axis}[% ,xmin=0,xmax=3 ...
user avatar
2 votes
1 answer
475 views

Add vertical labels on left side of tikzpicture

I have a flowchart using tikz, and I'd like my legend to include a vertical label on the left side of the tikzpicture. Like above text. (Excuse my 10 second Paint MS flowchart)
user avatar
  • 23
0 votes
1 answer
92 views

Chart not showing fist x/y tick (pgfplot)

I want to draw a chart but the chart is missing the first x/y tick. What do I have to do to make the first ticks visible? Thanks in advance! Here is the full code on overleaf, I hope this is ok: ...
user avatar
  • 115
1 vote
1 answer
446 views

Remove warning "Tab has been converted to Blank Space."

I get this warning "Tab has been converted to Blank Space." how can I remove it, and why do I get it? \documentclass[12pt]{article} \usepackage[utf8]{inputenc} % Gjør det mulig å ...
user avatar
  • 392
6 votes
2 answers
2k views

Is there a way to make "sunburst charts" (multi-level pie charts) in LaTeX?

Would like to make a "sunburst chart" such as this one in LaTeX: I searched for Tikz examples and questions, but couldn't find anything fitting this description. Is there a way to make these, using ...
user avatar
  • 69
0 votes
1 answer
51 views

How to change a chart implemented with pgfplots package [closed]

I am beginner in using pgfplots package, I am trying to edit this example but seriously it was hard for me to understand what is the purpose of each parameter in the code like how can I change the ...
user avatar
  • 277
3 votes
2 answers
11k views

Online tool to create charts from tables?

I am wondering if there is such a tool were I can provide a table and define the type of chart and it produces a Latex code for that chart? Thank you
user avatar
  • 277
0 votes
1 answer
97 views

Graphing a function that isn't bijective

I want to create the following set of curves. However, 2) is not ill-defined because it's not bijective. How can this graphed on Tikz? I tried drawing, but this doesn't produce smooth looking curves. ...
user avatar
  • 410
1 vote
1 answer
281 views

Package to draw bitwise operations - recommendations?

Are there any packages to draw a chart which illustrates the processing of several 32/64 bit variables via bit-wise operations (on byte level), similar to the chart below? If not, maybe any ...
user avatar
3 votes
1 answer
3k views

How to plot a bar chart with several bars?

I am trying to plot a bar chart in LaTeX to be displayed as below and the script I am referring to is as below: \begin{filecontents}{data.csv} A, B, C, D 5, 10, 17, 12 10, 9, 27, 21 15, 33, 33, ...
user avatar
  • 85
1 vote
1 answer
446 views

TikZ: How to modify pie chart with individually adjustable colors and point number percentages?

Example 1 I found this nice pie chart on the web as a template: Minimum Working Example (MWE): % Pie chart % Author: Robert Vollmert \documentclass{article} \usepackage{calc} \usepackage{ifthen} \...
user avatar
  • 3,448
1 vote
1 answer
493 views

intermittent/broken line in flow chart

I have this: \documentclass{article} \usepackage{tikz} \usetikzlibrary{fit,arrows,calc,positioning} \begin{document} \tikzstyle{b} = [rectangle, draw, fill=blue!20, node distance=3cm, text width=...
user avatar
  • 343
3 votes
3 answers
2k views

Curved lines with tikz

Consider: \documentclass[a4paper, 11pt]{article} \usepackage[protrusion=true,expansion=true]{microtype} % Better typography \usepackage{graphicx} % Required for including pictures \usepackage{...
user avatar
5 votes
1 answer
2k views

Pie chart labels

I want to create a pie chart with labels (one blank an one with percentage for the teacher, the mwe is the teachers version) so that my students have to fill the percentage in by themselves. So far I ...
user avatar
  • 641