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

learn more… | top users | synonyms (1)

16
votes
9answers
1k views

Finding the best way to visualize rather complicated data

I have the following data ...
11
votes
0answers
128 views

How do I determine which ChartElementDataFunction is Automatic?

In the course of exploring @kglr's answer to Edmund's question gain some insight into how I might answer my own question here, I came across the undocumented ...
10
votes
2answers
561 views

Reproducing the xkcd “Self-Description” comic

Trying to brush up on my programming, I wanted to see if I can reproduce at least the first two panels of the following comic in Mathematica: I have some code for trying to reproduce the first ...
9
votes
2answers
170 views

How do I overlay things onto a BarChart?

I have a fairly complex sort of BarChart that I want to overlay with other graphics. For concreteness, let's assume that I want to overlay a ...
6
votes
2answers
137 views

Bar chart scale in multi-chart visualisation

This is a rewording of a previous question which probably wasn't very well explained, and so didn't get any responses(!). I'm trying to create a chart which shows the smooth kernel distribution of ...
6
votes
2answers
184 views

A better alternative to the paired bar chart

In an nice blog post about the horrors of the paired bar chart, Jonathan Schwabish proposes an elegant alternative, as follows. Instead of having parirs of yellow and blue bars, simply plot their ...
6
votes
1answer
136 views

How to create a stacked BarChart with custom bar origins as function?

I want to create a simple stacked bar chart where the bars start a custom y-axis point and end at another y-axis point. So far I have: ...
5
votes
2answers
98 views

Labeling columns in grouped charts separately

I want to label sequentially some charts. Say, for instance, that I had: ...
5
votes
2answers
197 views

How do I animate a bar chart?

Is there any easy way to have an animated bar chart (one where the heights of the bars change with time)? I currently have the following code: ...
5
votes
1answer
409 views

LabelingFunction in BarChart displays bar-values below x-axis

I'm trying to visualize some data using a BarChart[] in Mathematica. The data should be placed (centered) inside the bars - except the bar is too small. In this ...
4
votes
6answers
325 views

Plotting “Terrain” with “Water” on them Using BarChart3D

It's easy to present a terrain using BarChart3D using ChartLayout -> "Grid"with the following code: ...
4
votes
3answers
147 views

Displaying horizontal axis as legend of a chart/plot?

I'm trying to do a BarChart[] of some data and I'd like to add an additional XX axis below the chart with some additional information. This may also be done with an ...
4
votes
2answers
124 views

Extracting Color Options from BarChart

I would like to extract the colors (i.e., obtain RGBColor[] or other full specification) of the different colors used in a bar chart such as this ...
4
votes
1answer
71 views

How to access box-and-whisker specifications from custom ChartElementFunction?

I am creating a custom ChartElementFunction for BoxWhiskerChart. I would like to access the box-and-whisker specifications from ...
3
votes
2answers
533 views

Plot negative and positive logarithms? [duplicate]

I'm trying to do a barchart of some negative and positive numbers. How can I show them all in Log space so that you can clearly see very big and very small exponent values? ...
3
votes
2answers
106 views

Does “MeanMarker” (BoxWhiskerChart) exclude outliers?

When you use the "MeanMarker" function within BoxWhiskerChart, does the mean shown on the box plot exclude the near and/or far outliers identified from the plot? If not, is there a (relatively simple)...
3
votes
2answers
122 views

BarChart with empty bars removed

Consider the following BarChart: ...
3
votes
1answer
249 views

How to create a bar chart from a list of heights *and* bin delimiter positions?

Basically, I'm trying to produce the same output that Histogram[giganticList] would produce, but starting from the output of ...
3
votes
0answers
62 views

Change position of data labels in BarChart3D

What would be the easiest way to manipulate the position of the chart labels in "Grid" layout in a BarChart3D? For example: ...
3
votes
1answer
133 views

BoxWhiskerChart with logarithmic axes 2

I actually already found my answer on the question, however it is not working. see BoxWhiskerChart with logarithmic axes I want to create a boxwiskerchart with a logaritmic axes. But when I try <...
2
votes
1answer
152 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, ...
2
votes
1answer
68 views

BarChart EdgeForm not producing correct colors

EdgeForm is not producing correct colors for the borders of my bars. My code: ...
2
votes
1answer
22 views

How to use a list to label a BarChart

I'm trying to add labels to the BarChart I have generated from a Dataset however, I seem to be stuck on a couple of points. ...
2
votes
1answer
109 views

BarChart: plotting bars at given positions

Is there a way to get BarChart to position any number of bars of arbitrary widths at arbitrary positions? e.g. I want to plot normal vertically-standing bars, with ...
2
votes
1answer
95 views

How can I create a chart like CandlestickChart, but for non-financial data with something other than dates as the abscissæ?

I'd like to create charts reporting on Monte-Carlo experiments using something like a candlestick chart: four figures for each run with a varying parameter, eg min, mean - σ, mean + σ, max of the ...
2
votes
0answers
55 views

How to make circuit-like diagrams [duplicate]

I was reading through a blog post and found some really nice graphs, and I was wondering how to generate similar ones with Mathematica:
1
vote
2answers
112 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 (...
1
vote
2answers
47 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 ...
1
vote
2answers
47 views

How to Refresh ChartLabels when Manipulate BarChart Take Data Positions Change

See attached sample code at the bottom of this post. Under Manipulate, as I step through BarChart data using Take with different start/end positions, the chart of the data is refreshed, but the ...
1
vote
1answer
36 views

Plotting x value and error bar in y from a data file

Here are some of the points where first column is the values on x axis and the other two values are lower and upper limits for the error bars in y. ...
1
vote
1answer
51 views

How do you make y-axis labels and Ticks bigger in a BoxWhiskerChart

I'm trying to do a BoxWhiskerChart in Mathematica with a very specific Style. Specifically, I'm trying to get the y-axis labels (the numbers) to be bigger (point 72)...
1
vote
1answer
118 views

Put error bars in specified plots spots in a graph?

Hello again i have the next problem: i have done a very nice graph and i need to incorporate the standard deviation on graph but i only need to put those error bars in just some plots on the graphic ,...
1
vote
1answer
87 views

Comparing stock indices using TradingChart [closed]

Below I show a TradingChart specific to the SP500 index for a one month period. How do I produce a similar plot where three other indices (ASX200, Shanghai Comp, ...
1
vote
1answer
323 views

BarChart with Log-Scaling and Error-Bars [duplicate]

I want to make a BarChart with Log-Scaling and Error-Bars. I can do both individually: ...
1
vote
1answer
70 views

BarChart with relative abundances as chart labels

I want to make the following bar chart, but with relative abundances on top of the chart labels. I get the absolute numbers, but not the relative abundances: ...
1
vote
0answers
58 views

Real, scaled sizes of bubbles in bubblechart [closed]

I'm trying to create a BubbleChart3D with sets of 4 numbers, to see which spheres overlap. ...
1
vote
0answers
47 views

Inverted empirical CDF with averaging including BoxWhiskerChart

I'm new to Mathematica and started using it because of interest in statistics. So I've started reading books about statistics and found the problem, that the inverted empirical CDF with averaging ...
0
votes
1answer
473 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 ...
0
votes
1answer
93 views

Error bars in BarChart3D

Following the page on error bars in charts I wanted to make a BarChart3d with error bars, but I'm struggling with it because there is no help about the function "ChartElementData", which is used to ...
0
votes
1answer
104 views

Making a black bar in BarChart when using GlassRectangle [closed]

I use the command: ...
0
votes
0answers
46 views

How Can I Add Error Bars to a 3D BarChart?

How Can I Add Error Bars to a 3D BarChart? There's no info for this on the Wolfram site and I've never seen a graphic with them. Is this even possible?
-1
votes
0answers
25 views

How To Sort BarChart Data Based On the Selected Column

This sample code works fine for the category of StarData selected. What I would like to do is sort the data based on which BarChart is selected. ...