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
1answer
97 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
249 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
53 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
104 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
118 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
183 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
309 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
407 views

Striped bar in a bar chart

This is my code: ...
7
votes
2answers
231 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
189 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
125 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
115 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
29 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
145 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
70 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
99 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
81 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
732 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
192 views

Rearrange colors in BarChart

I have the following code which produces an animated bar chart. ...
-2
votes
1answer
313 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
444 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
149 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
264 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
79 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
203 views
2
votes
1answer
108 views

Improvement of a PieChart

In the following PieChart encoding, ...
4
votes
1answer
958 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
249 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
108 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
226 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
284 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
79 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
237 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
89 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
305 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
186 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
455 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: ...
1
vote
1answer
308 views

Plotting x value and error bar in y from a data file

Here are some of the points where first column is the values on x axis and the other two values are lower and upper limits for the error bars in y. ...
1
vote
2answers
165 views

How can I specify the plot range of a BoxWhiskerChart? [closed]

I am combining multiple BoxWhiskerCharts using GraphicsGrid. This works properly, however I want the different charts to have ...
1
vote
1answer
330 views

How do you make y-axis labels and Ticks bigger in a BoxWhiskerChart

I'm trying to do a BoxWhiskerChart in Mathematica with a very specific Style. Specifically, I'm trying to get the y-axis labels (the numbers) to be bigger (point 72)...
3
votes
0answers
241 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: ...
7
votes
2answers
371 views

Bar chart scale in multi-chart visualisation

This is a rewording of a previous question which probably wasn't very well explained, and so didn't get any responses(!). I'm trying to create a chart which shows the smooth kernel distribution of ...
4
votes
2answers
228 views

Extracting Color Options from BarChart

I would like to extract the colors (i.e., obtain RGBColor[] or other full specification) of the different colors used in a bar chart such as this ...
1
vote
0answers
64 views

Inverted empirical CDF with averaging including BoxWhiskerChart

I'm new to Mathematica and started using it because of interest in statistics. So I've started reading books about statistics and found the problem, that the inverted empirical CDF with averaging ...
5
votes
3answers
224 views

BarChart with empty bars removed

Consider the following BarChart: ...
7
votes
2answers
343 views

How to create a stacked BarChart with custom bar origins as function?

I want to create a simple stacked bar chart where the bars start a custom y-axis point and end at another y-axis point. So far I have: ...