Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [charts]

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

1
vote
2answers
213 views

Showing difference between values with color in a bar graph

I have a bar chart for probabilities of getting a score in a dice game with unfair dice, need to show how probabilities vary with score and don't just constantly go up. I thought color would be a good ...
5
votes
0answers
82 views

Geo data load issues: Texas is missing from GeoRegionValuePlot in v11, but only when mapping US states

UPDATE: this is not a global Mathematica issue, but a data load issue on a local machine. Does anyone know how to clear Geo cache and reload the data? I've also noticed on this machine that ...
3
votes
0answers
51 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
1answer
71 views

PairedBarChart: Remove space at bottom and add tick axes

I have two questions about adapting a PairedBarChart to my needs. 1.I have a PairedBarChart with many bars like this ...
3
votes
0answers
74 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? ...
5
votes
2answers
184 views

Improve BarChart

I am trying to display this BarChart in a nice way but now I have a problem that the first Bar is all squished and I can't see my labels for it. Moreover my axes should be scaled down and I don't know ...
2
votes
2answers
240 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
317 views

Changing the size of a Chart Legend

I'm trying to get a reasonable match for the following PieChart. I understand how to make the piechart, tweak the colors, placement of labels, etc. ...
3
votes
1answer
311 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: ...
1
vote
1answer
102 views

How to change the Bar chart in contour plot? [duplicate]

I created a contour plot from my data, the first image below shows the bar chart which I am getting but I need it to look like the second image (I created by paint) the first number should start from ...
3
votes
1answer
265 views

Horizontal Bar Chart splitting axis, and putting labels in the the center

I am trying to generate a horizontal bar chart which is centered at zero. Currently what I have is this: And the code that I am using is: ...
0
votes
0answers
55 views

Bar chart: Doble axis for just one group

I want to create another y axis for just the last group of values, because as you can see, these observation are not comparable with the previous ones. I would like also a method to distinguish ...
5
votes
1answer
106 views

PieChart and legending issues

I'm trying to do some bar charts and pie charts in Mathematica, but I can't figure out how to make the legend colors correspond to the actual colors on the charts. I'm running ...
10
votes
1answer
120 views

PieExploded in newer versions

I am trying to explode one segment of a pie chart. How does this work in version 10. PieExploded is obsolete now. Can't find out how to use SectorSpacing for this. Many thanks for a hint.
3
votes
1answer
198 views

Horizontal equivalents of Above / Below for labeling bar charts?

NB: For this post, I'll use bar's end as shorthand for the end of the bar that's opposite to the bar's origin. In bar charts, the Above symbol can be used to ...
6
votes
2answers
333 views

Floating Bar Chart

Does anyone know how to make floating bar charts in Mathematica v11.0? I can't seem to find any similar thread or related documentation. I'd like to make a simple one like the one above.
5
votes
3answers
444 views

Striped bar in a bar chart

This is my code: ...
7
votes
2answers
232 views

Timeline overview of implemented Mathematica functions

With WolframLanguageData[{"ListLogPlot", "Plot", "ColorNegate"}, "Timeline"] one gets information at what time and version a certain function was implemented: ...
2
votes
0answers
55 views

Is TradingChart Broken?

I'm getting pinking on mouseover for this: ...
3
votes
2answers
194 views

Display asterisk as it enter in Mathematica v11

In Mathematica v11, entering an asterisk from keyboard would be displayed as a 'times' operator, ie, it is not placed at top right corner of a text (as in Mathematica v9). I notice [Star] and [RawStar]...
3
votes
2answers
128 views

How to extract (absolute) Tick and/or PlotRange specs from output of Histogram?

If, for example, g = Histogram[RandomVariate[NormalDistribution[0, 1], 200]]; ...I want to extract an absolute (abscissa) Tick...
0
votes
2answers
118 views

Labelling BarChart [duplicate]

I have only used Mathematica's BarChart and related functions only recently and it does seem as though Mathematica is extremely cumbersome when it comes to ...
1
vote
0answers
30 views

flipping the axes of a barchart [closed]

It is not common of me to work with Barcharts but as I'm currently working on a project that requires the use of Barcharts I find flipping the axes to be extremely tedious and quite honestly, ...
1
vote
0answers
41 views
1
vote
1answer
149 views

BarChart Legend with scaled coordinates

I can't use scaled coordinates with BarChart: Placed::labpos: "!(\"Inside\") is not a valid position for the placement of labels. ...
1
vote
0answers
72 views

Maximum Size of Stacked BarChart?

I created some stacked BarCharts in Mathematica 8 and it did work just fine. After opening the file in Mathematica 11, one of the Charts is not "interactive" anymore (no mouse-over, no edges). For ...
0
votes
1answer
100 views

How can I assign specific values to annular sectors and display it as a colormap to describe distribution of flow rate?

I want to generate the geometry as shown in the image above and assign values to the numbered regions. These values are indicative of distribution of flow rate from these different regions. Finally, I ...
2
votes
1answer
83 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 ...
4
votes
1answer
774 views

Histogram: Compare PDF to Data

Goal I would like to make a plot which satisfies the following: Formost it should contain the Histogram of the data, with an overlay of the PDF Two y-axes, the left being the count for the elements ...
3
votes
1answer
200 views

Rearrange colors in BarChart

I have the following code which produces an animated bar chart. ...
-2
votes
1answer
327 views

How to get data from Histogram (HistogramList) for making plot?

I have a data I need to calculate the probability of the second column of my data in different bins and then getting(-LOG) from this probability and plot with the each bin related to it. my data is ...
11
votes
1answer
454 views

Update: Combining DistributionChart and BoxWhiskerChart

Goal The goal is to merge the default styles of a few different charts; namely, to have a chart that: has the key components of BoxWhiskerChart the outline of the ...
4
votes
1answer
154 views

Complex labelling of a BoxWhiskerChart

I try and make a complex labelling on a BoxWhiskerChart. However, the solution I tried isn't working properly as ...
1
vote
1answer
279 views

Timeline Plot with Date Intervals and Caption Array

I'm trying to achieve something similar to this example mentioned in the mathematica website below (https://reference.wolfram.com/language/ref/TimelinePlot.html), except I'm trying to get the event ...
4
votes
1answer
82 views

Manipulate with generated controls for setting each bar in a bar chart

I would like to create a list of parameters, then create a Manipulate with these parameters. Similar to this piece of code: ...
13
votes
2answers
208 views
2
votes
1answer
110 views

Improvement of a PieChart

In the following PieChart encoding, ...
4
votes
1answer
1k views

BarChart x-axis labels

I am trying to put specific labels on the x-axis of my bar graph. There are 56 bars. I want to have labels 1960, 1970, ... and 2010 on bars 1, 11, ... and 51 respectively with ticks at only those ...
2
votes
1answer
273 views

Formatting bar charts: size and ticks

I'm trying to format my bar charts so that I have only specific ticks with specific labels, and I can't seem to figure out how to do this. It always either comes up with ticks on every bar or without ...
8
votes
0answers
122 views

How to get DensityHistogram bins like GeoHistogram bins?

Version 11 introduced GeoHistogram. It creates bins that align the edges with certain shapes. DensityHistogram can also use ...
1
vote
1answer
101 views

Plot challenge: two bar charts next to next with one indicator line

Simple task: I would like to place two bar charts in a row and have an indicator horizontal line going above the two bar charts. What I did: ...
3
votes
1answer
240 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. ...
4
votes
1answer
304 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 ...
10
votes
2answers
1k 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 panel, ...
3
votes
0answers
81 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
2answers
246 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 ...
1
vote
2answers
90 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
2answers
323 views

Using a BoxWhiskerChart as a plot marker in ListPlot

I want to plot the means of several data sets, but instead of using a point I would like to use a box-and-whisker plot to represent the full data set. Here is what I mean (with some toy data): ...
1
vote
0answers
193 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. ...
4
votes
6answers
464 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: ...