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
0 votes
0 answers
33 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 ...
Philipp's user avatar
  • 115
2 votes
2 answers
108 views

Remove spacings in BoxWhiskerChart

I like tight layouts with no unnecessary spacing. How can I do that with BoxWhiskerChart? The BarSpacing option controls ...
tueda's user avatar
  • 793
3 votes
2 answers
203 views

How to Draw Rectangle Chart Using Three Layers of Data?

I have some data given at three levels: ...
Tugrul Temel's user avatar
  • 5,490
2 votes
2 answers
137 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. ...
Daniel Checa's user avatar
2 votes
1 answer
129 views

How to map community structure with circular embedding and normalized edge weights?

Given: ...
Tugrul Temel's user avatar
  • 5,490
2 votes
1 answer
62 views

How to locate chart labels correctly?

Given ...
Tugrul Temel's user avatar
  • 5,490
7 votes
3 answers
320 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 ...
Frankie's user avatar
  • 575
0 votes
0 answers
64 views

Plot BarChart and fixing the bars

I have 3 problems plotting the amplitudes of eigenvectors of a matrix H vertically (column). e.g. ...
Med Ch's user avatar
  • 117
0 votes
1 answer
117 views

How to generate a bubble chart of a directed graph with several properties using Manipulate[.]

This code: ...
Tugrul Temel's user avatar
  • 5,490
2 votes
1 answer
82 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": ...
Luthien's user avatar
  • 185
0 votes
0 answers
37 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. ...
Stuart Poss's user avatar
  • 1,774
0 votes
0 answers
18 views

How to import output from a dynamic Manipulate in NB1 to NB2?

I have the following Code which works fine: ...
Tugrul Temel's user avatar
  • 5,490
1 vote
0 answers
53 views

Logarithmic display in plot axis

Consider the code ...
sam wolfe's user avatar
  • 4,179
1 vote
1 answer
57 views

Legend without colors

I am doing a simple barchart plot: ...
Luigi's user avatar
  • 1,271
3 votes
0 answers
98 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 ...
Jagra's user avatar
  • 14.3k
9 votes
1 answer
143 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 ...
krygh's user avatar
  • 159
1 vote
1 answer
84 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 : ...
Jocelyn Minini's user avatar
0 votes
1 answer
96 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 ...
monfneg's user avatar
  • 541
-1 votes
1 answer
55 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 ...
Tugrul Temel's user avatar
  • 5,490
1 vote
3 answers
106 views

How to use PairedBarChart to compare two BoxWhiskerCharts?

I have a time-series of BoxWhiskerCharts comparing two variables. ...
Tugrul Temel's user avatar
  • 5,490
3 votes
0 answers
49 views

ChartElementFunction is not working properly with BarOrigin in Histogram

MMA12.3.0.0 Win10 64. ...
MMA13's user avatar
  • 4,265
3 votes
3 answers
263 views

Graphic manipulation - Psychrometric chart

I'm working on a psychrometric chart on Mathematica. The code is as follows: ...
Julio Araujo Dos Santos's user avatar
0 votes
0 answers
38 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. ...
parisa esmaili's user avatar
1 vote
1 answer
71 views

Ticks in BarChart

I have: ...
user avatar
1 vote
1 answer
110 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 ...
John Taylor's user avatar
  • 4,652
2 votes
1 answer
48 views

How can I place DistributionChart at desired x values?

Consider a simple DistributionChart such as the following: ...
FNia's user avatar
  • 153
1 vote
0 answers
37 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 ...
Kagaratsch's user avatar
  • 11.9k
3 votes
1 answer
59 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. ...
Rupesh's user avatar
  • 877
4 votes
3 answers
323 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: ...
finalupdate's user avatar
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: ...
Nate's user avatar
  • 725
2 votes
3 answers
229 views

Remove Outliers in BoxWhiskerChart

Is it possible to automatically remove the outliers that are detected by "Outliers" within BoxWhiskerChart? Somehow <...
sam wolfe's user avatar
  • 4,179
2 votes
0 answers
35 views

How to style Automatic legend labels? [duplicate]

Here's a minimal example: ...
user5601's user avatar
  • 3,621
5 votes
2 answers
241 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? ...
Tsai Ming-Chou's user avatar
1 vote
0 answers
62 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: ...
cheese.burger's user avatar
2 votes
2 answers
73 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 ...
Enrico M.'s user avatar
  • 779
2 votes
1 answer
150 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 ...
Jorge Castaño's user avatar
3 votes
1 answer
145 views

How to show two bar chart side by side and compare them

...
Sachin Kaushik's user avatar
1 vote
1 answer
87 views

How to create a flexible BarChart[ ] with Manipulate[ ]

This question is nothing more than making a few changes to an already working code. I put that code into Manipulate[...] to be able to choose a subset of countries ...
Tugrul Temel's user avatar
  • 5,490
5 votes
1 answer
133 views

BoxWhiskerChart with summary statistics [duplicate]

I would like to duplicate a BoxWhiskerChart, such as this: but I do not have access to the full dataset that generated it. I'm happy to type in by hand summary statistics (such as mean, 25%, 75%, ...
David G. Stork's user avatar
1 vote
1 answer
81 views

How to dynamically link a bar chart to a table and present them in a single synchronized figure

This answer has addressed the question of presenting a bar chart and its data table together in a single figure. Not to repeat the same question, I should point out that the answer given is not ...
Tugrul Temel's user avatar
  • 5,490
7 votes
3 answers
356 views

How to present a Barchart and a Table in a single figure

Using the following code, ...
Tugrul Temel's user avatar
  • 5,490
5 votes
2 answers
147 views

How to add errors in PairedBarChart?

I have: data01 = {0.012844725279853909`, 0.023794357025920716`}; data02 = {0.01740189577795908`, 0.027023265047026828`}; and, ...
user avatar
1 vote
1 answer
87 views

how to draw a line at mean value of cross-section and time-series data using Bar Chart

I have Dataset; ...
Tugrul Temel's user avatar
  • 5,490
5 votes
1 answer
76 views

How to display single valued data in BoxWhiskerChart?

...
Rohit Namjoshi's user avatar
-1 votes
1 answer
263 views

how to make BarCharts or Line Plot based on specific identifiers in a Dataset over two years

Given the following datasets: ...
Tugrul Temel's user avatar
  • 5,490
6 votes
2 answers
216 views

Prettier labels on a BarChart

How can I make better labels for the following simple BarChart? ...
mattiav27's user avatar
  • 6,587
1 vote
1 answer
107 views

how to use an unformatted database imported from Excel into Mathematica and draw various charts

In my earlier question (in this link) the given database is nicely formatted with columns denoting data for variables across countries and years. But, data sets are not always nicely formatted. Here ...
Tugrul Temel's user avatar
  • 5,490
4 votes
2 answers
146 views

how to efficiently use a time series database to plot Barcharts or LinePlots

I have the following input: ...
Tugrul Temel's user avatar
  • 5,490
-3 votes
1 answer
78 views

Combining a BubbleChart with a MatrixPlot

Is there a way I can combine a BubbleChart with a MatrixPlot? I already plotted a MatrixPlot ...
Naps's user avatar
  • 271
5 votes
1 answer
723 views

How to make this Box Plot

I want to mimic the following style (not necessarily the same data) So far, I got the following ...
sam wolfe's user avatar
  • 4,179

1
2 3 4 5
9