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.

learn more… | top users | synonyms (1)

1
vote
1answer
28 views

Setting Marker Line widths in Legend

I have read all these posts and can not get this to work. I am trying to increase the width of the line in the legend. I have tried SwatchLegend, ...
0
votes
1answer
31 views

Plotlegend does not work [on hold]

I am trying to add a legend to a plot, but sometimes it work and sometimes it doesn't work and I don't understand why. For example, when I use the following code, I get as an error "Unknown option ...
3
votes
1answer
70 views

Straightforward way to make a multicolumn line legend?

I have a plot showing 8 curves, and I'm able to define a line legend styled in either a column or a row version. I have the following code: ...
4
votes
5answers
176 views

PlotLegends for ListPlot with more than 15 curves?

I'm running into trouble getting the right PlotMarkers in the legend of a ListPlot of many curves. Simple example: ...
0
votes
2answers
123 views

Want to put additional items in my plot legend

I was able to plot most of the parts of the figure. But I have a problem with some legend items. Here is my code: ...
3
votes
1answer
63 views

How to add own description to BarLegend?

Is there a default-option possibility to add own defined names of the contour-labels in BarLegend? I want to have a string "hot" ...
1
vote
1answer
101 views

Function equal to Ctrl+Shift+I

No, it's not InputForm. Consider this example: ...
0
votes
2answers
57 views

Unknown option LegendPosition (even after Needs[“PlotLegends`”]) (Mathematica 10.0)

I'm running Mathematica 10.0 for Students. When I tried ...
2
votes
2answers
46 views

How to get the number of entries of histograms in the legend?

I plot three histograms (originating from a large Dataset ds) in one graph ...
1
vote
1answer
115 views

Show plot legends for multiple curves in one plot [closed]

I have 5 curves, figure1a0, figure1a001, figure1a01, figure1ae01, and figure1ae001,. I display all these curves in one plot with Show. I want to give a label to ...
0
votes
0answers
61 views

How to add a Bar Legend to a density plot over the surface of a sphere?

I have a function with variables (theta,phi) the spherical coordinates. I want to represent it as a density plot over the surface of a sphere. following an answer to a previous question Density ...
1
vote
2answers
72 views

Using Placed with Show - the simplest solution to move the legend around?

Please let me know if this is a duplicate. There are some solutions, but I think there must be something simpler for this kind of situation. ...
2
votes
1answer
137 views

PlotLegends is obsolete in v10?

I am using Mathematica 10.0.2.0 on a Mac OS X (Yosemite v. 10.10.1, 64bit). After I call: Needs["PlotLegends`"] I get the info: General::obspkg: PlotLegends` ...
0
votes
1answer
50 views

Showing Legend in Wolfram Mathematica

The code below displays a histogram of the data and superimposes plots of five Weibull distributions for comparison. I have assigned colors to each Weibull curve in the distribution plots. How can I ...
1
vote
1answer
102 views

No legends in parametric plot

plotting some descibing functions, I wondered why I don't get any legends in my plot. The describing functions (and options): ...
0
votes
0answers
42 views

Bar legend to Contour Plot

I have a set of 4 contour plots and I show them with the simple Show. How do I present a legend that is the same for the whole set? i.e., the scale needs to truly represent the set and not the values ...
2
votes
1answer
68 views

How to simulate Placed in workaround for PlotLegends ParametricPlot bug?

I'd like Legended output for call like: ...
0
votes
2answers
54 views

trouble with adding a legend to a plot

I am having trouble with adding a legend to a plot. this is my code,I tryed to use serval things,like ...
1
vote
2answers
85 views

How to center LegendLabel in BarLegend

BarLegend leaves a white region at the other end of the legend (the "0 end"), which is best seen by plotting a frame around the legend: ...
0
votes
1answer
51 views

Add a legend to a DiscretePlot - Version 8 [duplicate]

I have found several topics with legend issues but no answer to my problem. I have a function and I need to plot it for integers only (hence discrete plot) and then add a legend too. But ...
1
vote
1answer
27 views

How to share `ChartLegends` among multiple `BoxWhiskerChart`s in `GraphicsGrid`?

First, create two BoxWhiskerChart: box1 and box2 ...
3
votes
2answers
71 views

BarLegend using Function that uses Blend

I'm sorry if this is a duplicate, but I don't even know how to look for it. I had this line of code that worked on a Notebook I wrote on Mathematica 9.0: ...
2
votes
3answers
102 views

Customizing the order of appearance of legends in PlotLegends

I have a graph with four curves and I want to custom order their appearance in the legend. In particular, in the graph below, ...
4
votes
2answers
128 views

Match colors to plot themes

How do I get the colors to match the plot theme when I use a PlotLegend that is separate to the plots? I have had a look at How to access new colour schemes in version 10? but can't seem to find what ...
2
votes
1answer
59 views

Inconsistent behavior in ColorFunctionScaling of BarLegend in v10.0.1

I find the ColorFunction in BarLegend behaves very weirdly: Force rescaling from 0 to 1 For example: ...
1
vote
1answer
93 views

How to group box-and-whisker in parallel for comparison in BoxWhiskerChart?

I have two collections of data: xdata and ydata ...
5
votes
1answer
126 views

How to share LineLegend among sub-figures in GraphicsGrid?

Using GraphicsGrid, I have put two figures that share the same x-axis in a row. However, I failed to let them share a common ...
1
vote
1answer
95 views

Plot multiple solutions [duplicate]

I want to plot multiple solutions of an equation, so that one can differ them in the plot. The given equation is e.g. ...
5
votes
1answer
217 views

Wrong BarLegend with VisibleSpectrum

...
12
votes
1answer
223 views

PlotLegends won't generate automatically more than 15 labels in v10

NOT fixed in v 10.0.2 (Dec2014) While testing the examples from this recent post, i've noticed a problem in V.10 with PlotLegends when it has to automatically ...
1
vote
2answers
95 views

How to create an effective PlotLegend when plotting many ListPlots?

I'm creating a ListPlot where I plot many data sets simultaneously. Currently, my code that produces it is something like this: ...
2
votes
1answer
57 views
1
vote
1answer
60 views

Different distance in .jpg plot and .eps

I noticed that when I run my code to draw a plot: ...
1
vote
1answer
153 views

Place legend without border above the plot

I use Mathematica 7.0 and as far as I know, there is not method PlotLegends, only PlotLegend. I want to set my legend - without background, shadow and frame - above my plot, as in the example belowe: ...
0
votes
1answer
66 views

Plot Legends when first argument was generated by Table[]

I can get a plot to generate legends for different functions when these functions are put into a hand-coded list. However, when I generate the list of functions using Table[] only one legend is ...
1
vote
1answer
60 views

Changing the width of BarLegend

Is it possible to change the aspect ratio of the BarLegend in Mathematica? The option LegendMarkerSize, in my case below, only ...
2
votes
1answer
43 views

ChartLegends only displays the last two legends in the list

I would like to add 4 legends on a simple bar chart below, but only the last 2 legends appear on the graph. ...
23
votes
2answers
502 views

Poets of the 19th century

...
6
votes
2answers
136 views

MatrixPlot provides wildly inaccurate PlotLegend?

I noticed something weird with MatrixPlot's PlotLegends -> Automatic behavior- here's a minimal example: ...
2
votes
3answers
143 views

Legend placement explanation

Could anybody explain, how the coordinates in Placed influence each other? ...
2
votes
2answers
82 views

LegendMarkerSize value equivalent to special character size in LegendMarkers

I am trying to find the equivalent LegendMarkerSize value to the size specified for special characters when using LegendMarkers. So far I found LegendMarkerSize 14 generates symbols close to 22 set ...
1
vote
1answer
206 views

graphics grid legend

I'm working with mathematica 9.0 and I want to make a graphic grid containing 3 different plots. My problem is that when I use plotlegend to label the plots the legend does not show up or the left ...
2
votes
2answers
81 views

Why legendmarkers shifted a few pixels after opacity is specified

In below simple graph, if an opacity is specified in the legendmarkers, the plot marker shifted a little bit, can someone please shed some lights? ...
8
votes
2answers
173 views

Vertical (mis-)aligning of plotmarkers and legend text in V10 PlotLegends

Consider this example, taken from the docs and modified for a larger font size using Style (V10.0): ...
8
votes
2answers
222 views

Attaching a legend to BallAndStick picture

I am looking for a way to add a legend showing the identity of various atoms (with different colours) to this picture. Any Clues? ...
9
votes
3answers
184 views

Changing BarLegend border style

I want all the lines in my plot to be a consistent style, let's say thick and black for the purpose of this question. ...
3
votes
2answers
329 views

Most convenient way to set legend marker size?

If I add a legend using Legended[..., SwatchLegend[..., ...]] then I can explicitly set the legend marker size using the ...
4
votes
1answer
133 views

Boundaries of graphical objects not displayed correctly

I have encountered two situations where Mathematica 10 is mishandling the outer pixels of plainly simple objects. I input this: ...
14
votes
2answers
430 views

PlotLegends -> “Expressions” not working when Plot given one function

I don't get a legend when I use the option PlotLegends -> "Expressions" when the first argument to Plot is a single function. It works OK when I give ...
5
votes
2answers
71 views

Why does Rotate in PlotMarkers behave strangely?

While answering Change the inner color of markers I came across a behavior that may be a bug. I would like to know if there is another explanation. First a basic example of normal behavior: ...