Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [charts]

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

2
votes
2answers
52 views

Grouping of BarChart and BarChart labels

Thanks to m_goldberg remarks here, the following BarChart was obtained: ...
2
votes
1answer
63 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: ...
1
vote
1answer
34 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
34 views
5
votes
4answers
290 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
484 views
2
votes
1answer
190 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 ...
2
votes
1answer
40 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? ...
0
votes
0answers
13 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
2answers
94 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 ...
0
votes
1answer
105 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 ...
3
votes
0answers
31 views

Extra Ticks in Chart Boxes?

Is there a simple way to clean up the overextending ticks and highlight the line intersections? ...
8
votes
1answer
100 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
91 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
2answers
55 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 ...
1
vote
1answer
73 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
60 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
16 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. ...
1
vote
1answer
101 views

Plot challenge: two bar charts next to next with one indicator line

Simple task: I would like to place two bar charts in a row and have an indicator horizontal line going above the two bar charts. What I did: ...
4
votes
2answers
53 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
98 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
47 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 ...
-2
votes
1answer
313 views

How to get data from Histogram (HistogramList) for making plot?

I have a data I need to calculate the probability of the second column of my data in different bins and then getting(-LOG) from this probability and plot with the each bin related to it. my data is ...
3
votes
1answer
43 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
2
votes
1answer
134 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? ...
4
votes
1answer
67 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
65 views

Barchart more practical

Is there any more specific function to achieve this same result? ...
3
votes
1answer
122 views
4
votes
2answers
114 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
149 views

BoxWhiskerChart: How to combine more than one extra ingredients?

For instance, "Diamond" and "Outliers" in single plot. ...
2
votes
1answer
52 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. ...
5
votes
2answers
248 views

How to create Gantt charts

How can one best create standard Gantt charts in Mathematica, where the horizontal axis is time (preferably in the Mathematica time format) and where one can include labels within each horizontal bar? ...
6
votes
2answers
46 views

stacked BarChart shows no edges for big list of data

For big numbers of columns, a stacked BarChart does not display edges anymore. For low numbers of columns they appear again. Is there a way to force Mathematica ...
2
votes
0answers
42 views

“EventLabels” option no more working for “TradingChart” function in Ma 11.3

I used EventLabelsoption with TradingChart and CandlestickChart functions in Ma 11.1. I ...
3
votes
2answers
105 views

Need help charting school shootings by year and number of victims

For my school project I've decided to take some data from Wolfram. I have the dataset from Data Repository, and I want to create three BarCharts. The first one shows the highest number of fatalities. ...
1
vote
1answer
44 views

Labeling data in BarChart

I have the following data: data = {{1.2, 1.1, 1.4, 1.4, 1.5, 1.6, 1.2, 1.1, 1}, {1.3, 1.4, 1.2, 1, 1.1, 0.8, 1.1, 1.2, 1}}; and I would like to make a ...
2
votes
2answers
72 views

How can one reflect the vertical axis and add a label for the vertical axis to reflect units when using DistributionChart?

I have some depth distribution data for a number of species of marine fishes. Since I am dealing with depth distributions it is more conventional to plot such distributional diagrams with the surface ...
2
votes
0answers
54 views

Wolfram Cloud Mathematica BarChart different to Mathematica (native)

I just experienced the following different behavior in Mathematica and same in the Cloud regarding BarChart. I want to visualize two lists of data, one with origin right, one with origin left: ...
1
vote
2answers
62 views

Set Style of GridLines in BarChart

With values = RandomInteger[{10}, 5] this works: ...
5
votes
1answer
94 views

Comparing two groups - stacked bar chart with representation of each data point

I have a dataset comparing the performance of students on two exams, Exam 1 and Exam 2: I would like to create a stacked bar chart where each bar represents the grades on Exam 1 and the stacks in ...
0
votes
1answer
352 views

Histogram of two data sets [closed]

I want to plot a histogram of two data sets in the following way: I've written this code, and following are my results: Can you help me out? What should I do?
6
votes
2answers
243 views

Waterfall Stacked BarChart

Trying to make a waterfall bar chart. I got this far: ...
1
vote
1answer
33 views

Coloring PieChart elements uniformly for various charts

I have in total 16 datasets and want to make PieCharts such that the colors are appropriate for the respective item. I tried with ...
0
votes
1answer
76 views

Data from Excel does not show up in Bar Chart

I am trying to create a bar chart using data imported from Excel. This is how my excel file looks like. I created the following function: ...
17
votes
0answers
197 views

Why the Callout option makes plotting performance poor

Bug introduced in 11.0 and fixed in 11.1 The Callout option is a new option for plotting, but the performance is very poor, see bellow testing case. ...
1
vote
1answer
67 views

Problem with PieChart ColorFunction and GrayLevel [duplicate]

Related: PieChart and legending issues I have the following list: ...
5
votes
1answer
104 views

PieChart and legending issues

I'm trying to do some bar charts and pie charts in Mathematica, but I can't figure out how to make the legend colors correspond to the actual colors on the charts. I'm running ...