Skip to main content

# Questions tagged [charts]

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

442 questions
Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

### How can one Include ChartLegends in the BarChart Graphic Output (PDF)?

In following the example for a stacked bar chart, I am able to produce the graphic that I want. However, when I attempt to print the graphic as a PDF file, I find the ChartLegends are not included in ...
22 votes
2 answers
2k views

### How to create diagrams using Wolfram / Mathematica?

How can one use Wolfram to make diagrams like with the arrows labeled as well (to label "mediating factors" between the causal elements)?
10 votes
1 answer
153 views

### How to make a Voronoi chart with areas proportional to data?

In this chart the areas of the voronoi cells have been apportioned so that they represent the fraction of total spending. How can I make a chart like this? Suppose we have the data: ...
1 vote
1 answer
87 views

### How to plot a community structure with specific properties

This code generates a community structure where each community is shown with a different color. The same color is used for bars within a community and outgoing edges from that community. I would like ...
9 votes
3 answers
503 views

### Waterfall Stacked BarChart

Trying to make a waterfall bar chart. I got this far: ...
2 votes
0 answers
38 views

### How to avoid disparity in BarChart? [duplicate]

Consider the following code ...
3 votes
2 answers
204 views

### How to show two plots with different axes?

What is the easiest way to plot something like where either x-y axes pair is independent of the other. I tried combining BarChart and ...
2 votes
3 answers
637 views

### How does one plot a 3 dimensional table of numbers?

I've just spent three hours searching the documentation and this website for an answer. I have a rank 3 tensor: t = {{{1, 2}, {3, 4}}, {{5, 6}, {7, 8}}} How ...
0 votes
0 answers
24 views

### List of named ChartLayout themes

The documentation page for ChartLayout shows a few examples for themes such as "Grouped" and "Stacked". How can a list of the available ...
1 vote
0 answers
37 views

### Low EPS export quality for Histogram/BarChart

I like to export a figure as an EPS and continue to edit it afterwards (e.g., with inkscape). In the past, I was only exporting plots and everything worked fine: figures had high quality, and I could ...
2 votes
2 answers
119 views

### Remove spacings in BoxWhiskerChart

I like tight layouts with no unnecessary spacing. How can I do that with BoxWhiskerChart? The BarSpacing option controls ...
6 votes
4 answers
1k 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 ...
3 votes
2 answers
216 views

### How to Draw Rectangle Chart Using Three Layers of Data?

I have some data given at three levels: ...
2 votes
2 answers
157 views

### How to Add Inner Squares to Bar Chart Using BarChart[] Function?

I need to create a couple of bar charts, and I'm using the BarChart built-in function. Currently, I have managed to make them look like the image on the left. ...
2 votes
1 answer
142 views

Given: ...
2 votes
1 answer
66 views

Given ...
6 votes
4 answers
941 views

### How to change texture of chart bar?

Is there anyone who know how to make diagonal lines inside the chart bar like the below picture?
7 votes
3 answers
360 views

### How to draw a bar-in-bar chart using Mathematica? or align two bar/rectangle charts at the center of the bar rather than the left alignment?

I would like to create a bar-in-bar chart similar to the online example provided below. I have attempted to create it using the "RectangleChart" function to generate two bars. However, when ...
10 votes
3 answers
687 views

### How does BoxWhiskerChart detect outliers?

BoxWhiskerChart can detect and show outliers: ...
0 votes
0 answers
73 views

### Plot BarChart and fixing the bars

I have 3 problems plotting the amplitudes of eigenvectors of a matrix H vertically (column). e.g. ...
0 votes
1 answer
132 views

This code: ...
2 votes
1 answer
90 views

### Error bars in Barchart with Graphics3D

I have a problem with error bars in a 3d graphics. I wrote the following code to represent a matrix (called in the code "dataX": ...
0 votes
0 answers
49 views

### BarChart Frame Labeling

Given a list of integer values that represent the number of cliques in a large random graph, whose values I wish to display in a barchart. ...
1 vote
0 answers
60 views

### Logarithmic display in plot axis

Consider the code ...
1 vote
1 answer
69 views

### Legend without colors

I am doing a simple barchart plot: ...
3 votes
0 answers
101 views

### What's up with BarChart? [closed]

Mathematica version 13.2.1.0 macOS version Ventura 13.2.1 I began having odd behavior with BarChart. I restarted Mathematica. The attached image demonstrates the ...
9 votes
1 answer
152 views

### How to remove double ticks in bar charts and remove/ extend space between bars?

This is the bar chart. I need to remove the overextensions of the bar lines, reduce the space between consecutive A,B,C,D. However, I also want to retain/ add space between the three groups of ...
2 votes
1 answer
93 views

### 3D Timeline of 2D Barcharts

This post may be related to this one : 3D plot based on combined 2D graphs Consider the following (big) dataset which represents some results at time t=1 : ...
0 votes
1 answer
100 views

### Bubbles as symbols for plots [closed]

I have been interested in using bubbles as symbols for a ListPlot. I am aware of the power of Mathematica. I think that is possible. Is there anyone who has an ...
1 vote
3 answers
111 views

### How to use PairedBarChart to compare two BoxWhiskerCharts?

I have a time-series of BoxWhiskerCharts comparing two variables. ...
-1 votes
1 answer
57 views

### how to draw a directed graph using all outliers from BoxWhiskerChart[]

Given a matrix (15, 15), find and assign value 1 to all the BoxWhiskerChart[] outliers and then draw a directed graph of the ...
3 votes
0 answers
56 views

### ChartElementFunction is not working properly with BarOrigin in Histogram

MMA12.3.0.0 Win10 64. ...
3 votes
3 answers
274 views

### Graphic manipulation - Psychrometric chart

I'm working on a psychrometric chart on Mathematica. The code is as follows: ...
0 votes
0 answers
42 views

### Plotting a list with variable(chemical formula, number)

I have a list like this List=((co2-Teo2,12),(Al2o3,15),(Ta2O5,16)); I want to plot the list so that the x axis I have the right format of chemical formula and have chemical formula in my plot legends. ...
1 vote
1 answer
90 views

I have: ...
1 vote
1 answer
112 views

### How to make the following plot? [closed]

Consider the data in the form data={{"proton",20},{"pi0",40},{"K0L",9},{"rho0",60}}; How to plot a figure similar to the ...
2 votes
1 answer
56 views

### How can I place DistributionChart at desired x values?

Consider a simple DistributionChart such as the following: ...
1 vote
0 answers
40 views

### CandlestickChart how to display a separate x-axis tick for every single second?

I use CandlestickChart to display some price data. The data is only 30 seconds long and contains one candle per second. I'd like the chart to display a separate ...
3 votes
1 answer
60 views

### Adding metrics to the Tooltip of a BoxWhiskerChart

Is it possible to display standard deviation and mean in addition to the currently displayed metrics in the Tooltip of a BoxWhiskerChart. ...
4 votes
3 answers
456 views

### How can I add a horizontal line to my BarChart?

This is my first time asking a question on the Mathematica StackExchange. As the title says I'm looking for a way to add a horizontal line across my bar graph. The code I currently have is as follows: ...
1 vote
0 answers
56 views

### Strange CandlestickChart EventLabels Behavior When Using Modified Data

Edit: In attempting to showcase a simplified version of the issue, it seems instead I showcased a syntax error and didn't capture the correct issue. The code below showcases the issue: ...
2 votes
3 answers
270 views

### Remove Outliers in BoxWhiskerChart

Is it possible to automatically remove the outliers that are detected by "Outliers" within BoxWhiskerChart? Somehow <...
2 votes
0 answers
35 views

### How to style Automatic legend labels? [duplicate]

Here's a minimal example: ...
13 votes
3 answers
2k views

### How to create Gantt charts

How can one best create standard Gantt charts in Mathematica, where the horizontal axis is time (preferably in the Mathematica time format) and where one can include labels within each horizontal bar? ...
5 votes
2 answers
249 views

### How can I label different subcategories in different groups in BoxWhiskerChart?

Subcategories in different groups have different names. How can I adjust the settings of ChartLabels? Or is there another way? ...
1 vote
0 answers
65 views

### Coloring my Financial Indicator

I want to plot a trading chart with my indicator that is colored depending on its height. I prepared financial data and data of my indicator: ...
2 votes
2 answers
79 views

### Histogram and probability curve for a range of values

I don't know if I will be clear about what I am asking for, but here is my problem: how could I create a histogram (with the probability curve, later) when I have many different values (each one with ...
0 votes
1 answer
109 views

### Creating chart labels of two different Manipulated data sets in BarChart

I want to add chart labels to different datasets that are chosen via manipulate. I have a hierarchical data set that I imported from excel and broke down into subgroups using nested associations. ...
2 votes
1 answer
174 views

### Color bar depending on a parameter

I'm trying to reproduce a figure like the following: I had the analytical expression for each curve, and the color bar indicates the value of some parameter. My problem is that I don't figure out how ...
3 votes
1 answer
191 views

...