Questions on legends, figures (usually insets) that indicate what those lines/bars/points in plots refer to, using arrangements of graphic elements and text, whether manually or using built-in functions.
33
votes
4answers
5k views
Creating legends for plots with multiple lines?
So I have a graph with multiple lists, for e.g.
data = {{1,2}, {3,4}, {3,5}, {2,3} . . .}
If I then do ...
19
votes
3answers
2k views
ShowLegend values
How do I get ShowLegend to put the max and min values that a plot produces.
for example, when using ListDensityPlot, with ...
19
votes
7answers
1k views
Sizing cells in a GraphicsGrid/GraphicsRow
I would like to add a colour bar to a plot. I tried to use GraphicsRow for this. In a GraphicsRow, each item is given the same ...
21
votes
3answers
2k views
ListPlot with each point a different color and a legend bar
I would like to generate a ListPlot with the color for each point in the plot corresponding to a particular value (not associated with the position in the plot). I'd then like to add a legend ...
22
votes
6answers
5k views
Labeling individual curves in Mathematica
I need to create a plot for export and inclusion in a report. Is there a better way to label curves than PlotLegends? From what I've read and my personal ...
17
votes
5answers
2k views
Using PlotLegends with Show messes up the graphics
I have already obtained the plot that I want but am having trouble legending the graph correctly.
...
11
votes
4answers
344 views
Changing the order of elements in a chart legend
In a stacked BarChart or Histogram the bars are stacked from bottom to top, while the legend entries are listed from top to ...
8
votes
2answers
2k views
Legend of a plot: how to increase the size of the line/marker?
I'm using the following kind of code to do the legends of my plots:
...
4
votes
3answers
1k views
How can I label a ListDensityPlot with a color bar?
Here is an example of what is desired, only the result wouldn't be a contour plot, but a ListDensityPlot. The arguments would be a gradient and a list of numbers.
16
votes
4answers
442 views
Setting the default font for PlotLegends
I'm pleased that Mathematica 9 appears to have brought us prettier legends. If I always want the legend in
...
1
vote
1answer
246 views
Adjusting the legend colors to match that in MatrixPlot
I am trying to show the legend with a ColorData for a discrete Fourier transform coefficient table.
Here's a sample data table:
...
5
votes
3answers
253 views
Using PlotLegends
Please don't answer this with "Just trash PlotLegends" or anything like that as I have tried homebrew solutions. I keep running into problems which I can't debug as ...
9
votes
3answers
576 views
Adapt ticks in plot and font in legend
Some of my 2-dimensional data are displayed with a code similar to this:
...
8
votes
1answer
101 views
How can I get LineLegend to pick up my plot's BaseStyle?
The new legends functionality in version 9 really simplifies creating legends, and it automatically picks up the styles of the lines.
...
2
votes
1answer
104 views
rasterListContourPlot With PlotLegends in Mathematica 9
Jens Nöckel has write functions about (List) Contour Plots with rasterized shading in Mathematica:
http://pages.uoregon.edu/noeckel/computernotes/Mathematica/rasterContourPlot.html
It works well. ...
8
votes
1answer
300 views
How to position legends exactly where I want them?
I just noticed another plot legend question today and while user solutions to this, in particular code by @Jens, are IMO better than the built in solutions, exact positioning often still requires some ...
8
votes
3answers
430 views
How do I change the Font in BarChart Legend?
Just wondering if anyone knows the proper Syntax to change the Text properties in the BarChart's ChartLegend. I cannot seem to figure out how to get Style[] to apply. Here is an example:
...
3
votes
1answer
158 views
SetOptions or other approach to imposing default styling of text in a BarChart Legend?
Gustavo Delfino's answer to an earlier question showed that it is possible to use the third argument to Placed to format text in a ...
3
votes
2answers
624 views
Plot CSV-data; make statistical statements in Mathematica / WA
First, I'm quite new to Mathematica so sorry in advance if some questions seem to be trivial.
I have a CSV-file which looks like this:
...