Questions tagged [charts]

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

Filter by
Sorted by
Tagged with
3
votes
0answers
35 views

BoxWhiskerChart features breaking with massive WeightedData datasets

I have huge WeightedData objects (500K) that I am trying to plot in BoxWhiskerChart. I can get the default chart, but if I try and use the "Outliers" option, it breaks and hits a recursion ...
3
votes
3answers
217 views

Polar Bubble Chart

I would like to create a plot similar to that in the figure 1. I tried using both ListPolarPlot and BubbleChart, but they do not have the right option for creating a polar bubble chart. Any suggestion?...
3
votes
0answers
28 views

Multiple legends for barCharts

I came across this and found it quite cool. Here is the minimal example: ...
3
votes
2answers
43 views

Display `Table` output as a 3D bar chart

Create a simple function with arguments {i,j}, and make a Table for an array of values. For example: ...
6
votes
3answers
113 views

Decrease padding around Bar Chart

I don't like the default amount of padding / white space around BarChart. How can I specify it? BarChart[{1, 2, 3}]
2
votes
1answer
50 views

How to obtain Detele

From a={{6, 4}, {8, 1}, {11, 3}} How to obtain {{6, 8, 11}, {6, 11}, {6,11}, {6}} or ...
3
votes
1answer
45 views

Modified BoxWhiskerChart for statistical summary of data

I would like to make a statistical graph (chart) from data in the format {x-value, mean value, standard deviation} as in: {{10, 10.73, 0.72}, {20, 14.10, 0.49}, {30, 13.96, 0.49}, {40, 13.43, 0....
0
votes
1answer
54 views

Apparent discrepancy between visual and calculated Mean in Histogram

From a randonly generated normal distribution of values v: v = RandonVariate[NormalDisrtibution[56.6*10^-9,2.5*10-9]] I ...
4
votes
3answers
159 views

Stacked grid BarChart3D

I'm looking to use BarChart3D (in "Grid" mode) to show the elements of two real & positive matrices simultaneously. Since this will become a function in a ...
3
votes
1answer
76 views

Generating a broken or snipped Y axis in BarChart

Is there a way to reproduce the following behavior in BarChart? I have seen this in ListPlot, but I am not sure how it can be ...
2
votes
1answer
39 views

DistributionChart only shows entries with more than one value

DistributionChart does not show entries for sublists containing only one element. Although I can understand why this would be reasonable (there's no "distribution" of a single element), it seems that ...
2
votes
1answer
40 views

Mixing a BarChart and BoxWhiskerChart

I am trying to put together a BarChart and a BoxWhiskerPlot in this form: ...
8
votes
2answers
215 views

V12.1 shows extra space using BarChart3D compared to V12

V 12.1 on windows 10 shows extra space above and below BarChart3D compared to V 12 using the same code. I'like to put a label above this one below, but the space ...
2
votes
0answers
31 views

Is there a better way to space ChartLabels?

I am looking for a better way to specify the spacing between ChartLabels when using BarChart. My current implementation uses ...
0
votes
1answer
62 views

Barchart: Displaying multiple data sets and filling pattern

Is there a way I can code the following excel bar chart into Mathematica. Is there any guidebook I can follow? I’m struggling displaying multiple data sets into one figure and filling in the bar with ...
3
votes
1answer
87 views

Why do GridLines/Ticks in TimelinePlot not make sense in some cases and what to do about it?

A support case with the identification [CASE:4383277] was created. Background Following up on how TimelinePlot can be used to plot GanttCharts (176012) I noted ...
4
votes
1answer
48 views

Rotate Ticks in a Histogram

I have a histogram like the one presented here by @kglr (Combine BarChart and TimeLinePlot). For the sake of brevity, I excluded the issue with timelineplot: <...
0
votes
1answer
63 views

How can I dynamically label Bar charts

I found the following labeling code (by @Brett) and like to use it as an example: ...
6
votes
1answer
93 views

Legend for Bubblechart

I am trying to create an easy legend with bubbles for a Bubblechart. The legend should have the BubbleSizes -> {.02, .05}, for the scores 3 to 8 and ranging with the rainbow colors. Basically this ...
3
votes
1answer
87 views

BarChart Labels for two lists

a quick question: I am trying to label a BarChart that consists of two lists (groups). The label should keep going on with the Label list (so ddd, eee, fff) and not repeat itself (and start from aaa, ...
4
votes
1answer
98 views

Tooltip for BarChart

I'm not looking for something super fancy, but just getting BarChart to show X value and Y value seems to be challenging to get. Here's a toy example. data = {{"Data 1", -10.}, {"Data 2&...
2
votes
1answer
52 views

BarChart simultaneous axes label and numerical label

So I want to be able to put axes labels simultaneously as the numerical labels. I can achieve that with the following, but is there a better/cleaner way? I can't use callout, because I am using ...
4
votes
1answer
102 views

How to force DensityHistogram to draw empty bins?

By default, when using the "Count" density specification, DensityHistogram does not plot empty bins. And thus the legend starts ...
3
votes
1answer
98 views

Create a custom diagram

Suppose we have the following list with a row of integer numbers data = {0, 0, -1, 1, 1, 2, 9, -2, 2, 1, 1, 1, 0, 0, 9, 9, -1, 0, 9, 2} Each integer corresponds ...
2
votes
3answers
57 views

Changing Y-Axis to “Billions of Dollars”

Is there a way to change my bar chart's Y-axis from powers of 10 to "billions of dollars"? For example $100,000,000,000 should read as ...
0
votes
1answer
51 views

plot a performance envelope (changable ellipse) [closed]

I am learning by myself to use Mathematica. I am quite new actually. I'd like to plot something that resembles the picture below, but here's the thing, I want to know if there is a possibility to ...
0
votes
0answers
32 views

Making a histogram of a dictionary

I am trying to make a histogram of the dictionary where each bin is how many characters in a word, and the height is the frequency of words with that many characters. I'd like to make one for the ...
2
votes
2answers
57 views

Change colour of bar in stacked bar chart within range

I'm trying to change the colour of a bar when a number falls within the range. For instance, here is a stacked bar chart ...
1
vote
1answer
73 views

Manipulate chart disappears when sliders are moved

I have a Manipulate function that has two other functions inside of it, it has two sliders that each take in a value and show a bar on a graph from each input. Each value is shown on the chart as part ...
4
votes
1answer
105 views

BarChart and ColorFunction

There are really two questions. The first is: how does one get BarChart to generate x coordinates. That is, ListPlot takes a list of pairs, but ...
3
votes
2answers
76 views

BarChart: First Bin centered at 0 instead of 1

I want to plot an overlapped graphic comparing the experimental and theoretical data of the number of counts in a given time (beta decay), so I show them in a histogram. Because of sometimes the ...
1
vote
1answer
56 views

Use special characters or regular characters with BubbleChart

I have a list of points I want to plot. I'm trying to use BubbleChart because I want to assign to each point a different shape. How do I plot a BubbleChart with each point drawn with a different ...
7
votes
2answers
515 views

How to plot two axis bar chart side by side

I want to plot a bar chart using the given data, I am trying to plot by given code but chart only slightly displaced( I want it to the side by side) ...
4
votes
2answers
109 views

How to create a `BarChart[]` with color rules determined from categorical data?

Let's say I have a list of color names (strings), like this: samples = {{"blue, red, red"}, {"purple, blue, purple"}, {"blue, blue"}}; Then I can plot the ...
5
votes
2answers
95 views

ChartBaseStyle in BarChart3D - possible bug

It looks like ChartBaseStyle in BarChart3D doesn't work in Grid mode when the matrix is larger than 9x9: ...
0
votes
0answers
28 views

Getting OHLC Values from Highlighted Candelstickchart

How can I acquire the OHLC values associated with a specifically highlighted candlestick within a CandlestickChart.
0
votes
0answers
42 views

How to add a custom indicator to InteractiveTradingChart or TradingChart?

I'm creating a prediction algorithm for certain stocks and I wanted to plot the result of my predictor against the stock's history. I wanted to create my custom "indicator" to add to a ...
2
votes
1answer
39 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: ...
0
votes
1answer
58 views

Why are callout labels being double counted on my stacked bar chart?

See below: The problem is that the "leftist" labels are being counted twice on the right stacked bar. How to fix this?
21
votes
2answers
1k views

How to create Diagrams using Wolfram / Mathematica?

How can one use Wolfram to make diagrams like with the arrows labeled as well (to label "mediating factors" between the causal elements)?
6
votes
1answer
83 views

Remove ticks from chart labels

Given the following chart: BarChart[{{1, 2, 3}, {4, 5, 6}}, ChartLabels -> {{"r1", "r2"}, None}] How can I remove the ticks of the chart labels (marked with ...
7
votes
1answer
89 views

Formatting ChartLabels for a BarChart with ErrorBars

I have the following BarChart, that uses a custom ErrorBar function to plot error bars: ...
2
votes
1answer
38 views

Create inclined chart labels on stacked bar charts

Ive hunted high and low for a solution. I can put inclined labels on bar charts: ...
1
vote
1answer
53 views

BarChart LabelingFunction->Right label overlaps with chart label when BarOrigin -> Left

...
2
votes
1answer
51 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)?
1
vote
1answer
105 views

Making a Stacked GitHub Bar Chart [closed]

Here's a picture of what I mean by a stacked bar chart: Question: For the following GitHub repos: Organization1/Repo1 (branch: branch1) Organization2/Repo2 (branch: branch2) How can one make a ...
1
vote
1answer
46 views

Stacked Bar Chart with a bar showing the forecasted quantity and the real quantity as the part of this bar

I was looking for a way to make a stacked bar chart, where a bar shows the forecast and the real quantity as the part of the forecast. So, if the forecasted quantity is 10 and the real quantity is 5, ...
2
votes
3answers
230 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 ...
2
votes
1answer
154 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 ...
1
vote
1answer
52 views

Percentile BarChart with different EdgeForms

Is it possible to define different Edgeform's in a in a BarChart with ...

1
2 3 4 5