# Questions tagged [charts]

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

208 questions
Filter by
Sorted by
Tagged with
2answers
74 views

### Grouping of BarChart and BarChart labels

Thanks to m_goldberg remarks here, the following BarChart was obtained: ...
2answers
109 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?
1answer
116 views

### Improvement of a PieChart

In the following PieChart encoding, ...
1answer
239 views

### Barchart recognize time series data?

I can't seem to get Barchart to recognize TimeSeries data. For example, my data is: {{1891, 1}, {1892, 1}, {1897, 1}, {1898, 1}, {1903, 1}, {1904, 1}, {1905, 1}, {1908, 4}, {1909, 6}, {1910, 6}...
1answer
71 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. ...
2answers
133 views

### Overlay barcharts with same vertical axis

I want to construct a bar chart for which the last bar is two bars stacked, while the others are not stacked. My thought had been to create two bar charts and overlay them. The challenge I have is ...
1answer
28 views

### How to increase the pointsize of the point-markers in the legend of a cluster-chart?

I start the following mock data set: data = RandomReal[{0, 700}, {10^4, 2}]; I use k to define the number of cluster points: ...
3answers
146 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 ...
1answer
87 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. ...
1answer
166 views

### BoxWhiskerChart: How to combine more than one extra ingredients?

For instance, "Diamond" and "Outliers" in single plot. ...
2answers
87 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 ...
2answers
277 views

### Chart labels overlap with error bars using the Above function, How can I move the labels slightly more above?

I need a combination of these two charts. I also cannot seem to get the labels "Above" the bars "Above" enough. They run into the error bars. When I added the counts (n = 1), the horizontal ...
1answer
132 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 ...
1answer
47 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? ...
1answer
69 views

### Edit BarChart axis?

Is there some way to stop the y-axis plotting below the origin in the chart below. The PlotRangePadding is required to make room for the labels, but it pulls the y-...
1answer
98 views

### Adjust labels in SectorChart

This is probably easy to solve, but I can't figure out how. I have a SectorChartlike this: ...
2answers
71 views

### Add numeric label to each box in grouped BoxWhiskerChart

I would like to add a numeric label below each box in a grouped BoxWhiskerChart. I know how to do this in the ungrouped case, but cannot for the grouped case. For example, the following generates ...
2answers
127 views

### Setting the size of the horizontal axis within BarChart

Within BarChart is there a way to increase the length of the horizontal axis in order for me to be able to fit in a description on the right side? Below is an ...
1answer
45 views

### Making a BarChart of a Two Column Dataset

If I have a 2-column dataset like: How do I make a BarChart in the obvious way (i.e., bars labeled by FileName, in this case)?
1answer
74 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: ...
1answer
41 views

### Using the function Placed in BarChart

I have this BarChart: ...
1answer
197 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: ...
1answer
290 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? ...
1answer
59 views

### Make ChartLabels appear only for the outer layer of data

I am using the following code to produce the graph below. I would like to modify its ChartLabels so they appear only for the outermost layer. ...
2answers
158 views

### Histogram does not compute

I have a strange problem I haven´t had so far. I have a list of 16 lists of Integers and Rationals and want to show the 16 Histograms. Problem: The Histogram for the second list is not shown, the ...
1answer
86 views

### Suggestions for Buy/Sell signals overlaid on TradingChart

To visually evaluate a backtester, I would like to overlay "buy" and "sell" signals on TradingChart, while preserving the interactive functionality of ...
1answer
47 views

...
1answer
80 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 ...
1answer
381 views

### Changing the size of a Chart Legend

I'm trying to get a reasonable match for the following PieChart. I understand how to make the piechart, tweak the colors, placement of labels, etc. ...
1answer
316 views

### Formatting bar charts: size and ticks

I'm trying to format my bar charts so that I have only specific ticks with specific labels, and I can't seem to figure out how to do this. It always either comes up with ticks on every bar or without ...
2answers
90 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 ...
0answers
63 views

### “EventLabels” option no longer working for TradingChart in 11.3

I used EventLabelsoption with TradingChart and CandlestickChart functions in Ma 11.1. I ...
0answers
58 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: ...
0answers
152 views

### Stacked BarChart with Callout

BarChart examples include this code : BarChart[Table[Callout[RandomReal[{0, 1}], Unique["text"]], 2, 8], BarSpacing -> 2, ChartLayout -> "Stacked"] Its ...
0answers
93 views

### DistributionChart and kernel smoothing: preventing negative numbers

I am visualising rather scarce data about size distribution of certain objects (here - oil basin areas on continents, to be specific). There is no raw data, but some already processed quantities, for ...
0answers
138 views

### How do i make a barchart and listlineplot with two separate vertical axis?

I tried doing it with Overlay but the output is not a new graphics object and boundaries of the chart are overlapping. Is there a way to do this to get a new ...
0answers
55 views

### Is TradingChart Broken?

I'm getting pinking on mouseover for this: ...
2answers
369 views

### Using a BoxWhiskerChart as a plot marker in ListPlot

I want to plot the means of several data sets, but instead of using a point I would like to use a box-and-whisker plot to represent the full data set. Here is what I mean (with some toy data): ...
1answer
2k views

### BarChart: Want to rotate and place a y-axis label on the left side

I would like to know if it's posible to place the y-axis label roated on the left side without using Frame->True and ...
2answers
167 views

### Plot Text Data in Mathematica

I am trying to analyze some text data for my thesis! How can I plot this data in Mathematica in a barplot based on the frequency of the words and combinations of them? On the Abscissa (...
3answers
144 views

### How to plot 4D points on a 2D plane with the third coordinate being the size of the symbol and the fourth defining the color of the symbol?

I have 6 sets of 4D points. Here is an example of one set : ...
1answer
102 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: ...
2answers
194 views

### How can I specify the plot range of a BoxWhiskerChart? [closed]

I am combining multiple BoxWhiskerCharts using GraphicsGrid. This works properly, however I want the different charts to have ...
1answer
45 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 ...
3answers
109 views

### Histogram/BarChart data replacement conundrum

I am trying to make a histogram or bar chart for multiple large data sets, with 52 bins where I need to do the following operations: A) Tally the counts per bin (which I have done reasonably easily ...
2answers
250 views

### Showing difference between values with color in a bar graph

I have a bar chart for probabilities of getting a score in a dice game with unfair dice, need to show how probabilities vary with score and don't just constantly go up. I thought color would be a good ...
1answer
309 views

### Timeline Plot with Date Intervals and Caption Array

I'm trying to achieve something similar to this example mentioned in the mathematica website below (https://reference.wolfram.com/language/ref/TimelinePlot.html), except I'm trying to get the event ...
1answer
151 views

### How can I plot bollinger bands on financial time series? [closed]

I can't find any options for this in CandlestickChart[], but it's a pretty basic measure, is it not supported?
1answer
124 views

### Manipulate, TabView, and Histograms. Can they all be combined? [closed]

I previously received assistance here in constructing a Manipulate image that allows me to overlay plots of different data sets and toggle them on and off as needed,...
2answers
99 views

### Separating the labels with lines in BarChart

Is there a way to draw a dotted line between the labels of a BarChart? In the following graph, I want to draw a line between for example "Rawlsian with \n corrected ...