Questions tagged [charts]
Questions about building charts in Mathematica. This includes generating the graphics, prettifying them, and using methods to extract their data.
45
questions with no upvoted or accepted answers
19
votes
0
answers
234
views
Why the Callout option makes plotting performance poor
Bug introduced in 11.0 and fixed in 11.1
The Callout option is a new option for plotting, but the performance is very poor, see bellow testing case.
...
12
votes
0
answers
650
views
How to style and position VerticalCallouts and RadialCallouts
Here is a pie chart with a labels placed with a "VerticalCallout"
...
9
votes
0
answers
333
views
EMF Export Bug in v12
Bug introduced in 12.0 or earlier
For some reason EMF vector image export deteriorates with every version.
In v12.0 for Windows create a simple BarChart:
...
8
votes
0
answers
183
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 ...
7
votes
0
answers
76
views
BarChart does not display asymmetric error bars correctly
BarChart seems to read the uncertainty in elements the other way around. The object:
Around[5, {1, 10}]
is evaluated as .
However, when you use it in a BarChart, the uncertainties are swapped:
...
6
votes
0
answers
126
views
Is this a BarChart bug and is there a fix?
Trying to adjust the plot range in bar charts produces an unwanted result where the bars extend below the baseline/below the frame:
...
5
votes
0
answers
106
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
0
answers
87
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
0
answers
49
views
ChartElementFunction is not working properly with BarOrigin in Histogram
MMA12.3.0.0 Win10 64.
...
3
votes
0
answers
66
views
How to use ScalingFunctions with Graphics ChartElements
How to draw spheres with BubbleChart with a reversed vertical axis?
The 3rd example shows the problem (empty plot), likely caused by the transformation, but how to correct it?
...
3
votes
0
answers
50
views
BoxWhiskerChart features breaking with massive WeightedData datasets
I have huge WeightedData objects (500K) that I am trying to plot in BoxWhiskerChart. I can get the default chart, but if I try and use the "Outliers" option, it breaks and hits a recursion ...
3
votes
0
answers
290
views
Stacked BarChart with Callout
BarChart examples include this code :
BarChart[Table[Callout[RandomReal[{0, 1}], Unique["text"]], 2, 8],
BarSpacing -> 2, ChartLayout -> "Stacked"]
Its ...
3
votes
0
answers
304
views
How do i make a barchart and listlineplot with two separate vertical axis?
I tried doing it with Overlay but the output is not a new graphics object and boundaries of the chart are overlapping. Is there a way to do this to get a new ...
3
votes
0
answers
75
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
0
answers
546
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:
...
2
votes
0
answers
101
views
Why is my BubbleChart so slow?
I am using the California Housing data to create a Dataset. My Dataset is called "housing" and contains 20000 odd rows with 11 columns. I am trying to make a BubbleChart by using three ...
2
votes
0
answers
59
views
Is there a better way to space ChartLabels?
I am looking for a better way to specify the spacing between ChartLabels when using BarChart. My current implementation uses ...
2
votes
0
answers
75
views
"EventLabels" option no longer working for TradingChart in 11.3
I used EventLabelsoption with TradingChart and CandlestickChart functions in Ma 11.1. I ...
2
votes
0
answers
71
views
Wolfram Cloud Mathematica BarChart different to Mathematica (native)
I just experienced the following different behavior in Mathematica and same in the Cloud regarding BarChart. I want to visualize two lists of data, one with origin right, one with origin left:
...
2
votes
0
answers
172
views
DistributionChart and kernel smoothing: preventing negative numbers
I am visualising rather scarce data about size distribution of certain objects (here - oil basin areas on continents, to be specific). There is no raw data, but some already processed quantities, for ...
2
votes
0
answers
69
views
Is TradingChart Broken?
I'm getting pinking on mouseover for this:
...
1
vote
0
answers
53
views
Logarithmic display in plot axis
Consider the code
...
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 ...
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:
...
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:
...
1
vote
0
answers
97
views
Pie chart labels do not render properly
I am working on a project and this pie chart needs to have same-sized labels that emanate "radially" outward. There will be concentric charts outside this core with more information about ...
1
vote
0
answers
82
views
How can I use TradingChart without volume data?
I am trying to use the Mathematica Function TradingChart to produce a chart. I am using data produced by me for the plot and I do not have the volume data.
Here is ...
1
vote
0
answers
49
views
Making a histogram of a dictionary
I am trying to make a histogram of the dictionary where each bin is how many characters in a word, and the height is the frequency of words with that many characters. I'd like to make one for the ...
1
vote
0
answers
244
views
Use country flag in chart style for a bar chart
I am creating a stacked bar chart from 2017 using the following data set
...
1
vote
0
answers
50
views
Formatting ChartLabels in BarChart. More than one subscript letter appear non-italic
I want to plot a BarChart with quantities some of which are named with one subscript letter and some with two. The quantities with one subscript letter appear ...
1
vote
0
answers
44
views
1
vote
0
answers
89
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 ...
1
vote
0
answers
81
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 ...
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 ...
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.
...
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.
...
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:
...
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.
...
0
votes
0
answers
88
views
Customize FinancialIndicator
I have a set of financial data in a 5-minutes (download here) and 1-day timeframe (download here)
Since the ordering of my dataset is different than the ordering taken by ...
0
votes
0
answers
57
views
Make a bar chart of the lengths of the words in“A long time ago,in a galaxy far,far away"
The expected output and the output obtained both are same, but why is it showing it wrong. All the desired functions have been used,
0
votes
0
answers
172
views
Getting the source code of the custom indicator MESA
I would like to ask how to get the source code of a custom indicator offered by the InteractiveTradingChart function, in particular the MESA indicator (Maximum ...
0
votes
0
answers
35
views
BoxWhiskerChart Two Sets of Data
I have researched and looked at examples given within the Mathematica Documentation but I cant seen to accomplish what Im trying to do.
I have to sets of data sets
...
0
votes
0
answers
54
views
BarChart3d not working as expected
I have multiple barcharts which I want to display in a single plot, one chart behind the next. I found I can do this with BarChart3D. But it's not working properly. I have the following data:
...
0
votes
0
answers
70
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 ...
-2
votes
1
answer
631
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 ...