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
42 views

How to put ChartLabel of BoxWhisker top of the frame?

I would like to put chartlabel above the frame (highlited place). Any idea? ...
3
votes
1answer
80 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? ...
3
votes
1answer
386 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: ...
3
votes
1answer
71 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 ...
3
votes
1answer
75 views

Gridlines in BoxWhisker Chart with Logarithmic Scaling Function

Is there a way to use logarithmically-spaced gridlines in BoxWhiskerChart? I've attempted manually specifying the gridlines as follows: ...
3
votes
1answer
187 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 <...
3
votes
1answer
86 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 ...
3
votes
0answers
36 views

Extra Ticks in Chart Boxes? [duplicate]

Is there a simple way to clean up the overextending ticks and highlight the line intersections? ...
3
votes
0answers
91 views

How to setup FrameTicks for TradingChart

I'm trying to setup FrameTicks for TradingChart, but it dosn't work. ...
3
votes
0answers
62 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
0answers
77 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? ...
3
votes
0answers
93 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:
3
votes
0answers
350 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: ...
2
votes
2answers
399 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 ...
2
votes
1answer
270 views

BarChart EdgeForm not producing correct colors

EdgeForm is not producing correct colors for the borders of my bars. My code: ...
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 ...
2
votes
2answers
52 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 ...
2
votes
2answers
107 views

Grouping of BarChart and BarChart labels

Thanks to m_goldberg remarks here, the following BarChart was obtained: ...
2
votes
2answers
124 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?
2
votes
1answer
123 views

Improvement of a PieChart

In the following PieChart encoding, ...
2
votes
1answer
278 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, 6}...
2
votes
1answer
147 views

Rotating label in BarChart

I have created a bar chart, but I have some issues with the labeling of the sample in X-axis. May I seek help to find out how can I rotate the label in the X-axis direction. Appreciate the help. ...
2
votes
2answers
216 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 ...
2
votes
1answer
36 views

Mixing a BarChart and BoxWhiskerChart

I am trying to put together a BarChart and a BoxWhiskerPlot in this form: ...
2
votes
1answer
49 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 ...
2
votes
2answers
49 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 ...
2
votes
1answer
38 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: ...
2
votes
3answers
218 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
147 views

Combine BarChart and TimeLinePlot

I have a Barchart like this: ...
2
votes
1answer
137 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. ...
2
votes
1answer
190 views

BoxWhiskerChart: How to combine more than one extra ingredients?

For instance, "Diamond" and "Outliers" in single plot. ...
2
votes
2answers
108 views

How can one reflect the vertical axis and add a label for the vertical axis to reflect units when using DistributionChart?

I have some depth distribution data for a number of species of marine fishes. Since I am dealing with depth distributions it is more conventional to plot such distributional diagrams with the surface ...
2
votes
1answer
109 views

Adjust labels in SectorChart

This is probably easy to solve, but I can't figure out how. I have a SectorChartlike this: ...
2
votes
2answers
300 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
152 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 ...
2
votes
1answer
59 views

Separating halves of a PairedBarChart

Question 1: How can I separate the halves of a PairedBarChart so as to create enough room for long labels, as in this example? ...
2
votes
1answer
79 views

Edit BarChart axis?

Is there some way to stop the y-axis plotting below the origin in the chart below. The PlotRangePadding is required to make room for the labels, but it pulls the y-...
2
votes
2answers
80 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 ...
2
votes
2answers
169 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 ...
2
votes
1answer
33 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
33 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: ...
2
votes
1answer
49 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)?
2
votes
1answer
85 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: ...
2
votes
1answer
45 views

Using the function Placed in BarChart

I have this BarChart: ...
2
votes
1answer
293 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: ...
2
votes
1answer
441 views

How to add error bars to a stacked bar chart?

Sorry, I know how to make error bars on normal bar charts, but how can I add vertical error bars to the top of my stacked bar charts, please? ...
2
votes
1answer
59 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
2answers
173 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
87 views

Suggestions for Buy/Sell signals overlaid on TradingChart

To visually evaluate a backtester, I would like to overlay "buy" and "sell" signals on TradingChart, while preserving the interactive functionality of ...
2
votes
1answer
69 views

3D bar Graphs, Axes and resolution

...