Questions tagged [charts]

Questions about building charts in Mathematica. This includes generating the graphics, prettifying them, and using methods to extract their data.

1
vote
1answer
35 views

Stacked Bar Chart with a bar showing the forecasted quantity and the real quantity as the part of this bar

I was looking for a way to make a stacked bar chart, where a bar shows the forecast and the real quantity as the part of the forecast. So, if the forecasted quantity is 10 and the real quantity is 5, ...
2
votes
3answers
64 views

How to shorten or remove the “tick marks” below a BarChart?

I am trying to make those downward "tick marks" below the horizontal axis of a BarChart shorter or removed. They look very crowded in a figure like the following ...
2
votes
1answer
59 views

Sizing a `Labeled` figure

I am trying to control the overall width of a Labeled bar chart. However, it seems whether I put ImageSize->225 as an option ...
1
vote
1answer
31 views

Percentile BarChart with different EdgeForms

Is it possible to define different Edgeform's in a in a BarChart with ...
0
votes
0answers
29 views

Combine BarChart and TimeLinePlot

I have a Barchart like this: ...
1
vote
2answers
66 views

How can I employ custom coloring when using BubbleChart3D?

I have a table with 10 columns, obtained as import from file. I would like to use 4 columns as {x, y, z, u} params for ...
3
votes
1answer
74 views

How to change a part of the BoxWhiskerChart?

My intention is to change the style of the bottom of the BoxWhisker Chart after drawing of the BoxWhiskerChart. For instance: lines of the BoxWhiskerChart are Thick but change to dotted bellow ...
1
vote
1answer
24 views

Formatting several labels in BarChart

I have the following BarChart with labels on the bars and labels at the bottom: ...
6
votes
0answers
210 views

EMF Export Bug in v12

Bug introduced in 12.0 or earlier For some reason EMF vector image export deteriorates with every version. In v12.0 for Windows create a simple BarChart: ...
1
vote
0answers
48 views

Use country flag in chart style for a bar chart

I am creating a stacked bar chart from 2017 using the following data set ...
2
votes
1answer
69 views

How can I animate the sorting by Sort, BarChart and Animate? [duplicate]

I try to make an animation of sorting like this but something goes wrong. ...
6
votes
3answers
373 views

Gantt Chart like rectangles with log scale

I need to plot something that looks like a gant chart, but are actual data ranges. These ranges need to be on a log scale. Graphics does not offer a Scalingfunction. A LogPlot with ErrorBars does not ...
2
votes
2answers
132 views

How to plot this group bar plot?

I want to generate a barplot with the following characteristics. There are 5 users in the system. Each user has a demand. There are 2 suppliers. Each supplier tries to meet user demand as closely as ...
4
votes
1answer
78 views

Custom color for fence, whisker and outliers in BoxWhiskerChart

How can I use custom color for fence, whisker and outliers. Here is my MWE ...
2
votes
2answers
71 views

Grouping of BarChart and BarChart labels

Thanks to m_goldberg remarks here, the following BarChart was obtained: ...
1
vote
1answer
33 views

Adding the option ChartElementFunction -> “GlassBoxWhisker” to BoxWhiskerChart increases file size enormously

I would like to export BoxWhiskerChart figure as PDF file. Adding the option ChartElementFunction -> "GlassBoxWhisker" to <...
1
vote
1answer
41 views

Adding Legend to PieChart

Say counts = {0.18, 0.51, 0.31}; PieChart[counts, ChartLabels -> counts, PlotRange -> All, Frame -> True, FrameTicks -> None] I am completely ...
2
votes
1answer
72 views

Correct my use of BarChart labels

I need to make a good bar chart based on the table below (the number of nodes with its probability of falling correspond to each OF): Thanks to kglr I got the necessary BarChart: ...
3
votes
1answer
36 views

How to put ChartLabel of BoxWhisker top of the frame?

I would like to put chartlabel above the frame (highlited place). Any idea? ...
2
votes
1answer
39 views

Using the function Placed in BarChart

I have this BarChart: ...
5
votes
4answers
634 views

Separate coloring for each bar in a Stacked BarChart

In a stacked bar chart, how do I give individual stacks separate colorings? For example, how would I modify the following code ...
8
votes
2answers
500 views

How to make the bar be a button?

This is a BarChart: ...
0
votes
0answers
17 views

Break in column legend [duplicate]

and Happy New Year to everyone. When I construct a pie chart grid, the legend (common to all charts) is placed as a column. Unfortunately, it "breaks" in two parts with no obvious (to me) reason. I ...
3
votes
0answers
33 views

Extra Ticks in Chart Boxes? [duplicate]

Is there a simple way to clean up the overextending ticks and highlight the line intersections? ...
2
votes
1answer
39 views

3D bar Graphs, Axes and resolution

...
2
votes
1answer
158 views

Histogram based on pre-binned data (center of a bin given) - bin size not equal

I have the following problem. I have a pre-binned list that I want to plot. Here is a shortened example: ...
8
votes
1answer
106 views

How to add inner ticks to a PieChart?

I know how to add Callouts to the outside of a PieChart, but I would like to add inner ticks like this: Note the 3, 6, 9, 12 ...
2
votes
2answers
104 views

BoxWhiskerChart without the data

I have the following for a dataset, but I do not have the underlying data: Mean Median Q1 Q3 range OR max(data) & min(data) Is it possible for me to draw the BoxWhiskerChart?
2
votes
1answer
228 views

Circular table (spreadsheet like) - is it possible?

In the past, I've made a circular spreadsheet in Javascript, which can be seen in here : http://secteur-3.net/ARN-Public/ARN.html (left matrix). Each cell is bound to some data and have minimum ...
3
votes
1answer
67 views

Set the same box width for BoxWhiskerChart

I would like to use the same box width for two different plot. consider following example. How can I use the same box width for the second plot? ...
5
votes
2answers
261 views

Minimize distance between two lists

Writing: ...
3
votes
2answers
121 views

Pie chart grid with a common legend

I want to construct a grid of pie charts but I want the legend (which is common to all charts) to appear at the bottom of the grid.I include the code and a picture of the output. Code updated with ...
2
votes
2answers
75 views

Change color of label in Labeled

I have a stacked bar chart and one of the bars in the chart shows the value. I am using Labeled to put the value where I need it, but I can't seem to figure out how to change the color of the text. I ...
2
votes
1answer
71 views

How to change space between y-axis and first bar in a stacked barchart

I have a stacked barchart like this one: BarChart[{{1, 3, 5}, {4, 7, 9}}, ChartLayout -> "Stacked"] Is there a way to change the space before and after the ...
1
vote
0answers
18 views

Specify order of bars in a bar chart? [duplicate]

I have a bar chart where I need to specify the order of the bars, and I can't seem to figure out how to do it. I've searched the documentation and Google, but I'm not coming up with anything helpful. ...
4
votes
2answers
55 views

Stacked Bar Chart with individual spacings to compare pairs of bars

I would like to plot a stacked BarChart BarChart[RandomReal[1, {6, 4}], ChartLayout -> "Percentile"] with modified ...
3
votes
1answer
107 views

Remove transparency in Histogram

I have the following code, which places the data s1, s2, and s3 on a histogram as shown below. I would like the transparency set ...
1
vote
1answer
51 views

What purpose does using None in BarChart's ChartLabels option serve?

I am wondering how to describe the reasoning behind the None setting in ChartLabels to label a group of data. It's a very common way of using a bar chart but it ...
3
votes
1answer
53 views

Adjusted Bar chart label rotation

I'm currently working on a bar chart diagram, where the vertical axis starts from 0.9. I managed to adjust the labels, but I don't know how to rotate it to make it readable. The code is the following:...
0
votes
0answers
14 views

Framed BarChart - Bars outside frame [duplicate]

When I make the following BarChart: ...
4
votes
1answer
92 views

How to make swatch legend match the chart's texture?

I am making a stacked bar chart which represents the concentration of a battery in different metals. I would like to make the metals differentiatable by adding a bit of texture to the rectangle in ...
1
vote
1answer
94 views

Work with real time interactive trading chart with a different time frame

I would to work with real time interactive trading chart, for example: which is the daily chart of Dow Jones Industrial Index But, the problem is that Mathematica "InteractiveTradingChart" function ...
2
votes
1answer
224 views

How to add error bars to a stacked bar chart?

Sorry, I know how to make error bars on normal bar charts, but how can I add vertical error bars to the top of my stacked bar charts, please? ...
3
votes
1answer
68 views

Barchart more practical

Is there any more specific function to achieve this same result? ...
3
votes
1answer
124 views

How to remove edge forms completely from a pie chart?

Consider a pie chart as follows ...
4
votes
2answers
137 views

Plot a gradient line on bar chart

Hi I have a question on how to plot a calculated gradient fit (fd4,fdata4) into a bar chart. Data 1 is the raw data, using FindFit function I got the gradient fit ...
2
votes
1answer
154 views

BoxWhiskerChart: How to combine more than one extra ingredients?

For instance, "Diamond" and "Outliers" in single plot. ...
2
votes
1answer
68 views

Rotating label in BarChart

I have created a bar chart, but I have some issues with the labeling of the sample in X-axis. May I seek help to find out how can I rotate the label in the X-axis direction. Appreciate the help. ...
1
vote
1answer
116 views

“Striped bar in a bar chart” problems with available approach

while searching for solutions making textures in bar charts possible, I found this code posted by the user halmir here: Hatched bars and bar-specific background in BarChart Unfortunately this doesn't ...
2
votes
1answer
45 views

Separating halves of a PairedBarChart

Question 1: How can I separate the halves of a PairedBarChart so as to create enough room for long labels, as in this example? ...