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
2
votes
1answer
42 views

Create inclined chart labels on stacked bar charts

Ive hunted high and low for a solution. I can put inclined labels on bar charts: ...
2
votes
1answer
52 views

Making a BarChart of a Two Column Dataset

If I have a 2-column dataset like: How do I make a BarChart in the obvious way (i.e., bars labeled by FileName, in this case)?
2
votes
1answer
91 views

Correct my use of BarChart labels

I need to make a good bar chart based on the table below (the number of nodes with its probability of falling correspond to each OF): Thanks to kglr I got the necessary BarChart: ...
2
votes
1answer
47 views

Using the function Placed in BarChart

I have this BarChart: ...
2
votes
1answer
324 views

Histogram based on pre-binned data (center of a bin given) - bin size not equal

I have the following problem. I have a pre-binned list that I want to plot. Here is a shortened example: ...
2
votes
1answer
463 views

How to add error bars to a stacked bar chart?

Sorry, I know how to make error bars on normal bar charts, but how can I add vertical error bars to the top of my stacked bar charts, please? ...
2
votes
1answer
59 views

Make ChartLabels appear only for the outer layer of data

I am using the following code to produce the graph below. I would like to modify its ChartLabels so they appear only for the outermost layer. ...
2
votes
2answers
179 views

Histogram does not compute

I have a strange problem I haven´t had so far. I have a list of 16 lists of Integers and Rationals and want to show the 16 Histograms. Problem: The Histogram for the second list is not shown, the ...
2
votes
1answer
92 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 ...
2
votes
1answer
81 views

3D bar Graphs, Axes and resolution

...
2
votes
2answers
135 views

Change color of label in Labeled

I have a stacked bar chart and one of the bars in the chart shows the value. I am using Labeled to put the value where I need it, but I can't seem to figure out how to change the color of the text. I ...
2
votes
1answer
269 views

How to change space between y-axis and first bar in a stacked barchart

I have a stacked barchart like this one: BarChart[{{1, 3, 5}, {4, 7, 9}}, ChartLayout -> "Stacked"] Is there a way to change the space before and after the ...
2
votes
1answer
494 views

Changing the size of a Chart Legend

I'm trying to get a reasonable match for the following PieChart. I understand how to make the piechart, tweak the colors, placement of labels, etc. ...
2
votes
1answer
461 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 ...
2
votes
0answers
33 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
0answers
66 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
0answers
62 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
0answers
115 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
0answers
198 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 ...
2
votes
0answers
60 views

Is TradingChart Broken?

I'm getting pinking on mouseover for this: ...
1
vote
2answers
493 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
1answer
2k views

BarChart: Want to rotate and place a y-axis label on the left side

I would like to know if it's posible to place the y-axis label roated on the left side without using Frame->True and ...
1
vote
2answers
176 views

Plot Text Data in Mathematica

I am trying to analyze some text data for my thesis! How can I plot this data in Mathematica in a barplot based on the frequency of the words and combinations of them? On the Abscissa (...
1
vote
3answers
195 views

How to plot 4D points on a 2D plane with the third coordinate being the size of the symbol and the fourth defining the color of the symbol?

I have 6 sets of 4D points. Here is an example of one set : ...
1
vote
1answer
109 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: ...
1
vote
2answers
215 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
75 views

Adding Legend to PieChart

Say counts = {0.18, 0.51, 0.31}; PieChart[counts, ChartLabels -> counts, PlotRange -> All, Frame -> True, FrameTicks -> None] I am completely ...
1
vote
1answer
150 views

Manipulate, TabView, and Histograms. Can they all be combined? [closed]

I previously received assistance here in constructing a Manipulate image that allows me to overlay plots of different data sets and toggle them on and off as needed,...
1
vote
3answers
153 views

Histogram/BarChart data replacement conundrum

I am trying to make a histogram or bar chart for multiple large data sets, with 52 bins where I need to do the following operations: A) Tally the counts per bin (which I have done reasonably easily ...
1
vote
2answers
363 views

Showing difference between values with color in a bar graph

I have a bar chart for probabilities of getting a score in a dice game with unfair dice, need to show how probabilities vary with score and don't just constantly go up. I thought color would be a good ...
1
vote
1answer
376 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 ...
1
vote
1answer
166 views

How can I plot bollinger bands on financial time series? [closed]

I can't find any options for this in CandlestickChart[], but it's a pretty basic measure, is it not supported?
1
vote
2answers
105 views

Separating the labels with lines in BarChart

Is there a way to draw a dotted line between the labels of a BarChart? In the following graph, I want to draw a line between for example "Rawlsian with \n corrected ...
1
vote
1answer
75 views

Manipulate chart disappears when sliders are moved

I have a Manipulate function that has two other functions inside of it, it has two sliders that each take in a value and show a bar on a graph from each input. Each value is shown on the chart as part ...
1
vote
1answer
56 views

BarChart LabelingFunction->Right label overlaps with chart label when BarOrigin -> Left

...
1
vote
1answer
46 views

Stacked Bar Chart with a bar showing the forecasted quantity and the real quantity as the part of this bar

I was looking for a way to make a stacked bar chart, where a bar shows the forecast and the real quantity as the part of the forecast. So, if the forecasted quantity is 10 and the real quantity is 5, ...
1
vote
1answer
53 views

Percentile BarChart with different EdgeForms

Is it possible to define different Edgeform's in a in a BarChart with ...
1
vote
2answers
75 views

How can I employ custom coloring when using BubbleChart3D?

I have a table with 10 columns, obtained as import from file. I would like to use 4 columns as {x, y, z, u} params for ...
1
vote
2answers
217 views

Set Style of GridLines in BarChart

With values = RandomInteger[{10}, 5] this works: ...
1
vote
1answer
41 views

Coloring PieChart elements uniformly for various charts

I have in total 16 datasets and want to make PieCharts such that the colors are appropriate for the respective item. I tried with ...
1
vote
1answer
76 views

Problem with PieChart ColorFunction and GrayLevel [duplicate]

Related: PieChart and legending issues I have the following list: ...
1
vote
2answers
628 views

Number format of plot legend

How can I change format of numbers for bar legends. I would like to show numbers without digits after the decimal point. ...
1
vote
1answer
368 views

How to make a very simple BarChart with errors? [duplicate]

I am trying to make a very simple BarChart with individual integer errors. It seems like no solutions online address this, but instead show how to make charts with ...
1
vote
1answer
217 views

PieChart skipping Callout labels

I have a PieChart that needs a formatted label. Since some of the sectors are small I want to use Callout for those but keep the ...
1
vote
1answer
252 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
2answers
104 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
1answer
372 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
1answer
400 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)...
1
vote
1answer
258 views

Put error bars in specified plots spots in a graph?

Hello again i have the next problem: i have done a very nice graph and i need to incorporate the standard deviation on graph but i only need to put those error bars in just some plots on the graphic ,...
1
vote
1answer
158 views

Comparing stock indices using TradingChart [closed]

Below I show a TradingChart specific to the SP500 index for a one month period. How do I produce a similar plot where three other indices (ASX200, Shanghai Comp, ...