Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
1answer
67 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 ...
2
votes
2answers
37 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 ...
7
votes
2answers
403 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
79 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
80 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
23 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
32 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
34 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
39 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?
17
votes
2answers
1k views

Causal Diagrams using Wolfram?

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
57 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
71 views

Formatting ChartLabels for a BarChart with ErrorBars

I have the following BarChart, that uses a custom ErrorBar function to plot error bars: ...
1
vote
1answer
22 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
18 views

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

...
2
votes
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)?
1
vote
1answer
94 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
39 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
160 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
143 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
32 views

Percentile BarChart with different EdgeForms

Is it possible to define different Edgeform's in a in a BarChart with ...
0
votes
0answers
43 views

Combine BarChart and TimeLinePlot

I have a Barchart like this: ...
1
vote
2answers
71 views

How can I employ custom coloring when using BubbleChart3D?

I have a table with 10 columns, obtained as import from file. I would like to use 4 columns as {x, y, z, u} params for ...
3
votes
1answer
87 views

How to change a part of the BoxWhiskerChart?

My intention is to change the style of the bottom of the BoxWhisker Chart after drawing of the BoxWhiskerChart. For instance: lines of the BoxWhiskerChart are Thick but change to dotted bellow ...
1
vote
1answer
31 views

Formatting several labels in BarChart

I have the following BarChart with labels on the bars and labels at the bottom: ...
7
votes
0answers
239 views

EMF Export Bug in v12

Bug introduced in 12.0 or earlier For some reason EMF vector image export deteriorates with every version. In v12.0 for Windows create a simple BarChart: ...
1
vote
0answers
59 views

Use country flag in chart style for a bar chart

I am creating a stacked bar chart from 2017 using the following data set ...
2
votes
1answer
91 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. ...
6
votes
3answers
391 views

Gantt Chart like rectangles with log scale

I need to plot something that looks like a gant chart, but are actual data ranges. These ranges need to be on a log scale. Graphics does not offer a Scalingfunction. A LogPlot with ErrorBars does not ...
2
votes
2answers
169 views

How to plot this group bar plot?

I want to generate a barplot with the following characteristics. There are 5 users in the system. Each user has a demand. There are 2 suppliers. Each supplier tries to meet user demand as closely as ...
4
votes
1answer
84 views

Custom color for fence, whisker and outliers in BoxWhiskerChart

How can I use custom color for fence, whisker and outliers. Here is my MWE ...
2
votes
2answers
81 views

Grouping of BarChart and BarChart labels

Thanks to m_goldberg remarks here, the following BarChart was obtained: ...
1
vote
1answer
48 views

Adding the option ChartElementFunction -> “GlassBoxWhisker” to BoxWhiskerChart increases file size enormously

I would like to export BoxWhiskerChart figure as PDF file. Adding the option ChartElementFunction -> "GlassBoxWhisker" to <...
1
vote
1answer
48 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 ...
2
votes
1answer
76 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: ...
3
votes
1answer
37 views

How to put ChartLabel of BoxWhisker top of the frame?

I would like to put chartlabel above the frame (highlited place). Any idea? ...
2
votes
1answer
44 views

Using the function Placed in BarChart

I have this BarChart: ...
5
votes
4answers
684 views

Separate coloring for each bar in a Stacked BarChart

In a stacked bar chart, how do I give individual stacks separate colorings? For example, how would I modify the following code ...
8
votes
2answers
505 views

How to make the bar be a button?

This is a BarChart: ...
0
votes
0answers
19 views

Break in column legend [duplicate]

and Happy New Year to everyone. When I construct a pie chart grid, the legend (common to all charts) is placed as a column. Unfortunately, it "breaks" in two parts with no obvious (to me) reason. I ...
3
votes
0answers
34 views

Extra Ticks in Chart Boxes? [duplicate]

Is there a simple way to clean up the overextending ticks and highlight the line intersections? ...
2
votes
1answer
50 views

3D bar Graphs, Axes and resolution

...
2
votes
1answer
211 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: ...
8
votes
1answer
108 views

How to add inner ticks to a PieChart?

I know how to add Callouts to the outside of a PieChart, but I would like to add inner ticks like this: Note the 3, 6, 9, 12 ...
2
votes
2answers
110 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?
3
votes
2answers
283 views

Circular table (spreadsheet like) - is it possible?

In the past, I've made a circular spreadsheet in Javascript, which can be seen in here : http://secteur-3.net/ARN-Public/ARN.html (left matrix). Each cell is bound to some data and have minimum ...
3
votes
1answer
70 views

Set the same box width for BoxWhiskerChart

I would like to use the same box width for two different plot. consider following example. How can I use the same box width for the second plot? ...
5
votes
2answers
272 views

Minimize distance between two lists

Writing: ...
3
votes
2answers
143 views

Pie chart grid with a common legend

I want to construct a grid of pie charts but I want the legend (which is common to all charts) to appear at the bottom of the grid.I include the code and a picture of the output. Code updated with ...
2
votes
2answers
93 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 ...
2
votes
1answer
87 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 ...