Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
1answer
99 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,...
1
vote
3answers
82 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 ...
0
votes
1answer
186 views

Adding custom ticks/labels to x-axies

I have the following plot: Generated using the following code: ...
6
votes
6answers
243 views

Straightforward way to highlight a single bar in a BarChart

I'm looking for a straight forward way to highlight a single bar in a BarChart, i.e. a BarChart of country GDP where you highlight your country. There's a great ...
0
votes
0answers
20 views

BoxWhiskerChart Two Sets of Data

I have researched and looked at examples given within the Mathematica Documentation but I cant seen to accomplish what Im trying to do. I have to sets of data sets ...
2
votes
0answers
105 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 ...
1
vote
0answers
32 views

Formatting ChartLabels in BarChart. More than one subscript letter appear non-italic

I want to plot a BarChart with quantities some of which are named with one subscript letter and some with two. The quantities with one subscript letter appear ...
5
votes
2answers
303 views

MaTeX doesn't change fonts on axes?

I am running Mathematica 11.0, and am trying to create a bar chart to insert into a LaTeX document; since the document is in LaTeX, I would like the look of the chart to be in line with this, and so ...
0
votes
1answer
57 views

Histogram3D with imported data [closed]

It's been a while since I used Mathematica. Today I tried to visualize some data that I have in a text file. There are two columns, the first with integer values between 10 and 50 and the 2nd with ...
2
votes
2answers
92 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 ...
1
vote
2answers
96 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 ...
0
votes
2answers
149 views

Control Bar Chart Color based on Condition Statement [duplicate]

I want to control the color of individual bars by checking them against a threshold value. E.g., If[value<=threshold, color=red, color=blue]. I have been trying to get the "ColorFunction" to work ...
2
votes
1answer
55 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. ...
2
votes
0answers
85 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 ...
1
vote
0answers
54 views

What does bubble size mean in the context of BubbleChart? [closed]

I am trying to create a graphic with BubbleChart, but I have a problem. What does size mean in the context of BubbleChart? Is ...
4
votes
1answer
126 views

Distribute labeling function over a list in order to assign different labels in a PieChart

I have a PieChart: PieChart[{{1, 2, 3}, {4, 5, 6}}] I want to label each sublist differently, but ...
0
votes
0answers
106 views

Histogram with frequency data - option FrequencyData from mathematica 5.2

I remember the old way which was used in Mathematica 5.2 (maybe, 2003) for constructing histograms from data with already given counts over bins. It was so natural then to invoke: ...
2
votes
2answers
152 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 ...
2
votes
1answer
70 views

Adjust labels in SectorChart

This is probably easy to solve, but I can't figure out how. I have a SectorChartlike this: ...
4
votes
1answer
243 views

How to create a graphics like presented on the mathematica website as part of the latest features of Mathematica 11

I was browsing through the new features of Mathematica 11 and found this picture on the website: I'm trying to replicate this graphic (except for the logo in the middle of course) by means of the <...
1
vote
2answers
298 views

Number format of plot legend

How can I change format of numbers for bar legends. I would like to show numbers without digits after the decimal point. ...
7
votes
2answers
177 views

To Work with Barchart or DiscretePlot?

I would like to create a graph similar to this below using some slightly dotted bar style like the one shown in the figure ... And I'm trying to open a space between bars 6 and 8, but I'm failing. ...
5
votes
2answers
418 views

Adding labels to a bar chart with multiple data sets

I am trying to plot multiple data sets on a bar chart with unrelated column labels for each data set... Suppose my data is a list comprised of three different sub-lists of varying size, i.e., they ...
3
votes
2answers
269 views

Tuning BoxWhiskerChart

I have a large set of experimental data points (n) and I want perform some statistics on them. Particularly instead of showing all data points using ...
1
vote
1answer
227 views

How to make a very simple BarChart with errors? [duplicate]

I am trying to make a very simple BarChart with individual integer errors. It seems like no solutions online address this, but instead show how to make charts with ...
2
votes
3answers
358 views

Plot two sets of data in one BarChart

I have two sets data as following: ...
0
votes
2answers
188 views

To draw several histogram in a temporal axis

I have 1000 histograms obtained from a Monte-Carlo complex simulation process. So to explain what I am searching I will simplify my problem. If I want to draw 3 histograms on the same scale, I will ...
9
votes
3answers
429 views

Plot PieChart as a line (or as a stacked BarChart)

How to plot relative proportions on a line? IE PieChart as stacked BarChart that is normalised. For example, ...
0
votes
0answers
33 views

BarChart3d not working as expected

I have multiple barcharts which I want to display in a single plot, one chart behind the next. I found I can do this with BarChart3D. But it's not working properly. I have the following data: ...
1
vote
0answers
356 views

Enlarge the font size of a pie chart label [closed]

I have PieChart[ { Labeled[10, "A", "RadialCallout"] , Labeled[20, "B", "RadialCallout"] } , PlotRange -> All ] I want to enlarge the fontsize of ...
6
votes
0answers
96 views

Is this a BarChart bug and is there a fix?

Trying to adjust the plot range in bar charts produces an unwanted result where the bars extend below the baseline/below the frame: ...
2
votes
2answers
65 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 ...
6
votes
2answers
61 views

Change Edgeform for specific boxes in BoxWhiskerChart

I would like to change every second member of a pair in a BoxWhiskerChart to have a dashed EdgeForm. I can create a chart ...
4
votes
3answers
246 views

Axes Labeling in Bar Charts

How do I label a bar chart such that a list produced by Mathematica such as ...
2
votes
2answers
102 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 ...
5
votes
3answers
1k views

Histogram with specific colors

I have as example two data sets and want to make a combined histogram. When I do the following I can hardly distinguish which histogram belongs to which data. ...
1
vote
1answer
139 views

PieChart skipping Callout labels

I have a PieChart that needs a formatted label. Since some of the sectors are small I want to use Callout for those but keep the ...
2
votes
0answers
106 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 ...
7
votes
2answers
114 views

Screwy use of Labeled in BarChart — possible bug

SetOptions[BarChart, LabelStyle -> {}]; Options[BarChart, LabelStyle] When I evaluate this code ...
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. ...
3
votes
0answers
80 views

How to setup FrameTicks for TradingChart

I'm trying to setup FrameTicks for TradingChart, but it dosn't work. ...
1
vote
2answers
204 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 ...
5
votes
0answers
80 views

Geo data load issues: Texas is missing from GeoRegionValuePlot in v11, but only when mapping US states

UPDATE: this is not a global Mathematica issue, but a data load issue on a local machine. Does anyone know how to clear Geo cache and reload the data? I've also noticed on this machine that ...
3
votes
0answers
49 views

Label background colour in BarChart3D

With the vertical axis on the front face the labels don't follow the background colour. Any suggestions how to fix this? Using the default ...
3
votes
1answer
71 views

PairedBarChart: Remove space at bottom and add tick axes

I have two questions about adapting a PairedBarChart to my needs. 1.I have a PairedBarChart with many bars like this ...
3
votes
0answers
74 views

Shading colours reversed on negative bar charts

Bug introduced in version 11.0 Using simple cuboids in BarChart3D results in flipped colours for negative bars. Any ideas how to fix this simply? ...
5
votes
2answers
178 views

Improve BarChart

I am trying to display this BarChart in a nice way but now I have a problem that the first Bar is all squished and I can't see my labels for it. Moreover my axes should be scaled down and I don't know ...
2
votes
2answers
227 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 ...
2
votes
1answer
289 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. ...
3
votes
1answer
275 views

How to rotate labels in clustered bar charts

I can label groups in a bar chart but when trying to rotate the column labels I get unexpected results. This works: ...