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
2
votes
1answer
55 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 ...
0
votes
0answers
10 views

Change Figure name and start new count [duplicate]

I am following an especif pattern that differentiates Charts from Figures. So I have to name Charts e count them separately from Figures. I made a generic code as example: \documentclass[12pt,a4paper]...
2
votes
2answers
105 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 ...
1
vote
1answer
44 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=\...
1
vote
1answer
63 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 ...
0
votes
0answers
92 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 ...
1
vote
1answer
78 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{...
1
vote
1answer
80 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: ...
2
votes
1answer
107 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 ...
0
votes
1answer
66 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 ...
2
votes
1answer
79 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} \...
2
votes
0answers
41 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} ...
1
vote
2answers
185 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 ...
2
votes
1answer
122 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)
0
votes
1answer
51 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: ...
0
votes
1answer
182 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 å ...
5
votes
2answers
702 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 ...
0
votes
1answer
32 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 ...
2
votes
2answers
2k 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
0
votes
1answer
71 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. ...
1
vote
1answer
133 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 ...
1
vote
1answer
538 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, ...
1
vote
1answer
181 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} \...
1
vote
1answer
151 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=...
3
votes
3answers
615 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{...
4
votes
1answer
689 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 ...
19
votes
1answer
641 views

“Lollipop” Timeline

So, I hope the title gives some sense of what I want to accomplish. I have a report I do each month that details out system outages in our environment. The data is pretty basic - system name, start ...
3
votes
1answer
210 views

Tikz Gantt Chart Remove Canvas Top and Right Lines

With canvas/.append style we can customize the canvas lines or remove it as the code below. canvas/.append style={fill=none, draw=none} I would like to know how to remove only the Top and Right ...
0
votes
1answer
309 views

How can I make an interval plot?

Any one knows how can I draw this kind of interval plot and what package can I use? Note that in my case I want to be able to use intervals in a way that a bar is plotted from a to b, and then from c ...
1
vote
1answer
184 views

Drawing the chart from tikz/pgf Manual [duplicate]

In the manual [1] on page 90, there are two charts shown. The upper one is of interest for me. (The cyclic with the percentages. It's like a loading bar.) Could someone point me, how I could draw ...
1
vote
1answer
179 views

Labels in peak in chart (tikzpicture)

I have the graph (from CSV), and I would like to add some label in peak: \begin{figure}[ht!] \center \begin{tikzpicture}[baseline] \begin{axis}[xlabel={Time}, ylabel={[a.u]}, ...
0
votes
0answers
31 views

How to create filled chart with marked vertical lines [duplicate]

I would like to create filled chart similar to this image with marked gray vertical dotted lines.
0
votes
3answers
284 views

Pictogram Pie and Bar Chart

For my stats class, I am wanting to be able to make a pictogram (defined for this class as a bar graph with pictures for bars) similar to the ones below if required. A quick google and SE search gives ...
4
votes
1answer
606 views

How to add legend to custom pie chart

I've found here this code and it's pretty working for me, but I had problem with too long labels (5-6 words), so I've removed name labels from code and I would like to add legend on the right side of ...
1
vote
0answers
61 views

How to draw a pie chart open in the middle? [duplicate]

I am wondering, how I can draw the Pie diagram as is shown on page 50 of the TikZ manual here enter link description here? It's a 2D pie chart that is opened in the middle. Here is a snapshot of it:
5
votes
1answer
281 views

Drawing particular curves

I need to recreate the curves in the first graph in Latex. What's the best way? \begin{document} \usepackage{tikz} \usetikzlibrary{shapes.geometric,arrows,positioning,fit,calc,} \begin{center} \...
1
vote
2answers
105 views

Graph of Dependencies (like Numerical Recipes) [duplicate]

I'd like to build a graph of dependencies as they do in the index of the Numerical Recipes book. I want something straight-forward and plain like this: What has been suggested in the question in ...
1
vote
1answer
364 views

Machine schedules in LaTeX (pgfgantt)

I would like to know how to represent a Job Shop Schedule using pgfgantt. Usually you find the resources in the left and the tasks align in the same line if they are processed by this specific ...
6
votes
1answer
280 views

Tikz Wheelchart - How do I link a CSV to this graph?

I am trying to connect a CSV file to a wheelchart of the tikzpicture package. The image below looks fine, the only issue is that currently the data entries are hard coded. In the code below you can ...
0
votes
1answer
96 views

Double (in opposite directions) bar-plot in pgfplot with log scale on x-axis

I am making a double bar plot (in opposite directions) using pgfplots. I have very small numbers which when plotted gives bars with very small lengths. I would like to log-scale the x-axis, and for ...
3
votes
1answer
532 views

Unlinked gantt group

I created a Gantt chart contains some ganttgroups indicates the phases. However these ganttgroups get linked with the tasks which I don't want (like the first figure I want it to be like the red ...
1
vote
0answers
665 views

Project management charting [duplicate]

Are there any packages for project management charting - PERT charts, Gantt charts etc. I have seen flow chart packages, but not the others. Help will be appreciated.
1
vote
1answer
291 views

Drawing bar chart with x axis label only visible in legend?

I want to draw a bar chart with x axis label empty and the color of the filling reflecting the axis label from legend. Similar to this one here. My code is as follows: \documentclass[12pt, a4paper, ...
2
votes
1answer
344 views

How to align two pie-charts inside (or) outside a table

In a report that it will be printed in (white/black) colours, I would like to add two pie charts to show a sample size that has been used in two experiments. I do not know how to align them, and it ...
5
votes
2answers
345 views

Fill Chart to x-axis to look like image

I would like some help to get my chart to look like this (if possible): with the two tone colors to the x-axis. Here is the code that I have so far: \documentclass[border=5pt]{standalone} \...
2
votes
0answers
84 views

Graph depending on a variable [closed]

I'd like to create a graph, let's say using pgfplots, but other options are just as good if they work. The graph is supposed to illustrate several functions. Their domain is the set of all integers ...
2
votes
0answers
113 views

Is a chart/plot considered a figure? Are there “best practices” for charts/plots? [closed]

I'm seriously confused as to what a “chart” or plot is considered in the LaTeX community. Alright, let's start here. I've noticed individuals mainly use two methods for inserting charts: Construct a ...
1
vote
0answers
304 views

How to build this Chart (gantt)?

Can you help me? In the following picture I have chart, which I want to build with LaTeX, but I don't know if or how it's possible. \documentclass[a4paper, 12pt,fleqn]{article} \usepackage[left=30mm,...
1
vote
2answers
382 views

How to build that in the pgfgantt environment?

I am using the following code but I want to incorporate some dashes as in the picture. \documentclass[a4paper, 12pt,fleqn]{article} \usepackage{pgfgantt} \begin{document} \begin{figure} \centering {\...
0
votes
1answer
302 views

How can I put text next to my pdfgannt chart?

This is my code, I want to write next to the numbers a t for time, under M1 and M2 but I did not find any possible solution for that except ganttbar, but that doesn't look good and is not what I want. ...