The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
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: ...
5
votes
1answer
121 views

Comparing two groups - stacked bar chart with representation of each data point

I have a dataset comparing the performance of students on two exams, Exam 1 and Exam 2: I would like to create a stacked bar chart where each bar represents the grades on Exam 1 and the stacks in ...
5
votes
0answers
85 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 ...
4
votes
6answers
484 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: ...
4
votes
2answers
3k views

How to change BarChart labels font?

The question seems trivial, but no sign of such thing in reference. Also TicksStyle does not work for labels. Thanks, Regards
4
votes
1answer
271 views

How to create a graphics like presented on the mathematica website as part of the latest features of Mathematica 11

I was browsing through the new features of Mathematica 11 and found this picture on the website: I'm trying to replicate this graphic (except for the logo in the middle of course) by means of the <...
4
votes
2answers
425 views

Tuning BoxWhiskerChart

I have a large set of experimental data points (n) and I want perform some statistics on them. Particularly instead of showing all data points using ...
4
votes
2answers
234 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 ...
4
votes
3answers
216 views

Displaying horizontal axis as legend of a chart/plot?

I'm trying to do a BarChart[] of some data and I'd like to add an additional XX axis below the chart with some additional information. This may also be done with an ...
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 ...
4
votes
2answers
159 views

Plot a gradient line on bar chart

Hi I have a question on how to plot a calculated gradient fit (fd4,fdata4) into a bar chart. Data 1 is the raw data, using FindFit function I got the gradient fit ...
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 ...
4
votes
2answers
64 views

Stacked Bar Chart with individual spacings to compare pairs of bars

I would like to plot a stacked BarChart BarChart[RandomReal[1, {6, 4}], ChartLayout -> "Percentile"] with modified ...
4
votes
1answer
341 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 ...
4
votes
1answer
114 views

How to make swatch legend match the chart's texture?

I am making a stacked bar chart which represents the concentration of a battery in different metals. I would like to make the metals differentiatable by adding a bit of texture to the rectangle in ...
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 ...
4
votes
1answer
152 views

Distribute labeling function over a list in order to assign different labels in a PieChart

I have a PieChart: PieChart[{{1, 2, 3}, {4, 5, 6}}] I want to label each sublist differently, but ...
4
votes
1answer
178 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 ...
4
votes
1answer
91 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: ...
4
votes
1answer
875 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 ...
4
votes
2answers
307 views

How can I create a chart like CandlestickChart, but for non-financial data with something other than dates as the abscissæ?

I'd like to create charts reporting on Monte-Carlo experiments using something like a candlestick chart: four figures for each run with a varying parameter, eg min, mean - σ, mean + σ, max of the ...
3
votes
2answers
2k views

Plot negative and positive logarithms? [duplicate]

I'm trying to do a barchart of some negative and positive numbers. How can I show them all in Log space so that you can clearly see very big and very small exponent values? ...
3
votes
2answers
293 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 ...
3
votes
2answers
142 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 ...
3
votes
1answer
72 views

Barchart more practical

Is there any more specific function to achieve this same result? ...
3
votes
2answers
111 views

Need help charting school shootings by year and number of victims

For my school project I've decided to take some data from Wolfram. I have the dataset from Data Repository, and I want to create three BarCharts. The first one shows the highest number of fatalities. ...
3
votes
1answer
215 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 ...
3
votes
1answer
115 views

Remove transparency in Histogram

I have the following code, which places the data s1, s2, and s3 on a histogram as shown below. I would like the transparency set ...
3
votes
1answer
124 views

How to remove edge forms completely from a pie chart?

Consider a pie chart as follows ...
3
votes
3answers
548 views

Plot two sets of data in one BarChart

I have two sets data as following: ...
3
votes
1answer
211 views

Rearrange colors in BarChart

I have the following code which produces an animated bar chart. ...
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 ...
3
votes
1answer
80 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
1answer
290 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: ...
3
votes
2answers
139 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...
3
votes
1answer
269 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. ...
3
votes
1answer
427 views

BarChart: plotting bars at given positions

Is there a way to get BarChart to position any number of bars of arbitrary widths at arbitrary positions? e.g. I want to plot normal vertically-standing bars, with ...
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? ...
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? ...
3
votes
1answer
347 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
2answers
204 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
1answer
65 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
65 views

Adjusted Bar chart label rotation

I'm currently working on a bar chart diagram, where the vertical axis starts from 0.9. I managed to adjust the labels, but I don't know how to rotate it to make it readable. The code is the following:...
3
votes
1answer
185 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
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? ...
3
votes
0answers
87 views

How to setup FrameTicks for TradingChart

I'm trying to setup FrameTicks for TradingChart, but it dosn't work. ...
3
votes
0answers
56 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
75 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
90 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: