Skip to main content
30 votes
Accepted

How to create Diagrams using Wolfram / Mathematica?

...
kglr's user avatar
  • 397k
22 votes
Accepted

Better way to sort course grades

This is a great use for the Association data structure, which makes so many tasks in Mathematica that much more pleasant. First, we can just write out a ranking ...
Pillsy's user avatar
  • 18.5k
21 votes
Accepted

Insets around a clock

You can also arrange the lines on a circle like a pie chart: ...
kglr's user avatar
  • 397k
18 votes

How to create Diagrams using Wolfram / Mathematica?

...
Nasser's user avatar
  • 145k
16 votes
Accepted

Histogram with Error bars

For the case where the height function is "Count", we can use the formula from the linked page in a custom ChartElementFunction ...
kglr's user avatar
  • 397k
15 votes
Accepted

How to plot paired smooth histogram/distribution plots?

Here is something using a custom ChartElementFunction ...
chuy's user avatar
  • 11.2k
15 votes

How to create Gantt charts

You may use TimelinePlot with the PlotStyle option. For a project with schedule of start ...
Edmund's user avatar
  • 42.4k
15 votes
Accepted

Varying the size of dots in a plot according to information contained in list

You can use several approaches: BubbleChart: bcdata = Join[xy, List /@ pointsize, 2]; BubbleChart[bcdata] See the options <...
kglr's user avatar
  • 397k
15 votes

Insets around a clock

...
Bob Hanlon's user avatar
  • 159k
14 votes
Accepted

Update: Combining DistributionChart and BoxWhiskerChart

Final Update: Adding Callouts to special points ...
kglr's user avatar
  • 397k
14 votes
Accepted

Waterfall Stacked BarChart

How about this? yData = {10, 7, 4, 2, -5, -2, 3}; BarChart[yData, ChartLayout -> "Stepped"]
OkkesDulgerci's user avatar
12 votes
Accepted

How does BoxWhiskerChart detect outliers?

iqrc = "IQRCoefficient" /. ChartElementData["BoxWhisker", "Options"]; 1.5 ...
kglr's user avatar
  • 397k
11 votes

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

You can already achieve this using Histogram. No need to fuss with ListPlot. Use these forms for the second and third arguments ...
hftf's user avatar
  • 949
11 votes

How can I make a list plot with bars?

BarChart Although OP says "I don't want a BarChart", the requirements of list plot with drop down columns/bars (overlapping bars/columns) can be achieved using ...
kglr's user avatar
  • 397k
11 votes

Bar chart scale in multi-chart visualisation

Histogram does not support a grouped ChartLayout. Hence the workaround using BarChart: I'...
kglr's user avatar
  • 397k
11 votes

Reproducing the xkcd "Self-Description" comic

Here is a slightly improved/updated version of the solution developed by Peter Frentrup and published at Jan 15, 2010 on the xkcd forum. The changes I have made are to put ...
11 votes
Accepted

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

...
m_goldberg's user avatar
  • 108k
11 votes

Better way to sort course grades

I had to deal with similar problems many times, and I usually do this with associations. We start by defining an exhaustive list of grades in our desired order. I am not that familiar with the ...
Szabolcs's user avatar
  • 235k
11 votes
Accepted

Plot a point with two colors

data = Transpose@Range[{5, 5}]; You can create custom PlotMarkers with the desired shape: ...
kglr's user avatar
  • 397k
11 votes
Accepted

Gantt Chart like rectangles with log scale

...
kglr's user avatar
  • 397k
11 votes

How to remove double ticks in bar charts and remove/ extend space between bars?

Trawling through the documentation of BarChart ...
IntroductionToProbability's user avatar
10 votes
Accepted

Can I change text color in bar graphs based on the underlying bar color?

...
Karsten7's user avatar
  • 27.5k
10 votes
Accepted

PieExploded in newer versions

The dynamic variables controlling the popout state of each segment are initialised to False in the DynamicModule container. If ...
Simon Woods's user avatar
10 votes

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

 RectangleChart[Callout[{#2, 1}, #]] & @@@ diversityCoearse, ChartStyle -> 97, AspectRatio -> 1/2, BarSpacing->{0,0}, Axes -> {True, False}] ...
kglr's user avatar
  • 397k
10 votes
Accepted

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

You could use Graphics and built it up yourself. One way to start may be: ...
JEM_Mosig's user avatar
  • 3,003
10 votes
Accepted

Custom color for fence, whisker and outliers in BoxWhiskerChart

Use a custom ChartElementFunction and pass the color information as metadata using Thread[data->col] as the first argument in ...
kglr's user avatar
  • 397k
10 votes

How does BoxWhiskerChart detect outliers?

It is actually in the help documentation as the last item. Outliers are 1.5 InterQuartileRanges (IQR) away from the nearest quartile and Far Outliers are 3 IQR distant.
Mark Kotanchek's user avatar
10 votes
Accepted

How can I plot my financial indicator below a trading chart (produced by TradingChart) with the same x-axis?

It appears you can define your own indicators to be used with TradingChart (this doesn't seem to be documented though): ...
Lukas Lang's user avatar
  • 34.1k
10 votes

BoxWhiskerChart - how to show Quartile and other values

SeedRandom[1]; data = RandomVariate[NormalDistribution[], {2, 30}]; bwc = BoxWhiskerChart[data]; You can extract the tooltip labels from ...
kglr's user avatar
  • 397k
10 votes
Accepted

How to present a Barchart and a Table in a single figure

...
Bob Hanlon's user avatar
  • 159k

Only top scored, non community-wiki answers of a minimum length are eligible