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)

6
votes
2answers
110 views
9
votes
3answers
138 views

How can I change the thickness of tick marks in BarLegend?

This answer explains how to change various undocumented options for BarLegend with Method. In particular, I want to change the ...
0
votes
0answers
34 views

How to change number form of Plot Legend in ListContourPlot? [on hold]

I am creating a ListContourPlot from some very large values. I would like these numbers to be written out in scientific notation (8x10^8, etc.) I've tried the following code: ...
6
votes
2answers
102 views

PlotLegends “Expressions” default for ListPlot?

gwr pointed out an apparent problem with setting a default Option value of PlotLegends for DateListPlot. I traced the problem ...
9
votes
3answers
229 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 ...
2
votes
1answer
108 views
15
votes
3answers
2k views

How can I change the size of the plot markers

I use ListPlot in order to plot four sets of data and also insert legends in my plot. Here is the Mathematica code ...
0
votes
0answers
34 views

Adding a legend to ListContourPlot [duplicate]

I am struggling to add a legend to my plots. I am using ListContourPlot and my data is ASiAufrontZnO, which is an array of data with three columns ...
8
votes
2answers
141 views

Getting a correct custom legend for contourplot?

I am having trouble making a custom range for a legend in ContourPlot since the legend doesn't "talk" to the PlotRange and ...
2
votes
1answer
79 views

Legend is too long

I've a problem with the legend of my graph. I've customized the graphs of my papers in an acceptable way for the a lot of journals. But this time I've two problem: Is there a simple way to write the ...
2
votes
1answer
57 views

Contours aren't aligned with frame ticks in ContourPlot

Because of the problem described in BarLegend can't make spaced contours when contours number>11, I decided to brew my homemade spaced-contours-barlegend. After some trials I get something like ...
4
votes
1answer
103 views

How to automatically align multiple legends in Show [duplicate]

I am looking for a way to align two multiple legends while I can control the position of one of the legend myself. Consider the following code. ...
1
vote
1answer
103 views

Changing the width of BarLegend with Contour argument

Bug exists in 10.0.2 Is it possible to change the aspect ratio of the BarLegend in Mathematica? The option LegendMarkerSize, ...
1
vote
1answer
86 views

Using colorData and BarLegend in ListPlot

I read lot of questions about this issue, mainly: the stack code So,I tried create a list plot with bar legend , using the following code: ...
2
votes
2answers
555 views
5
votes
2answers
187 views

Scatter plot from two lists with BarLegend

I have two lists listx = {}; Do[x = RandomReal[{0, 1}]; AppendTo[listx, x], {1000}]; listy = {}; Do[y = RandomReal[{0, 10}]; AppendTo[listy, y], {1000}]; I can ...
1
vote
0answers
46 views

BarLegend can't make spaced contours when contours number>11

According to Document of BarLegend,BarLegend will select equally spaced contours: BarLegend[cf,contours] generates a legend that identifies color ranges from the color function cf based on the ...
3
votes
1answer
496 views

Create a colorbar plot legend

I have the following list of parametric equations lst = {10*Cos[u]*Sin[v], 3*Sin[u]*Sin[v], 2*Cos[v]}; I define the following color function ...
9
votes
2answers
262 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? ...
1
vote
2answers
132 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. ...
4
votes
2answers
162 views

How to export plot legend independently?

Let us take an adapted example from Mathematica doc's: ...
4
votes
1answer
79 views

How do I produce a BarLegend with the default coloring of a ContourPlot, using Legended?

I have a series of ContourPlots that I want to compare in a GraphicsRow environment. I want to add a single Legend for all three plots. Also, I really like the standard color scheme of the ...
0
votes
2answers
68 views

Control legend size when autoLegend is used with LinTicks [closed]

It looks simple, but I'm been trying to solve this issue for days, but no luck yet. So, here I used LinTicks, as customized option and another graphic option. Here ...
1
vote
1answer
75 views

PlotLegends in ListPlot does not display different markers

I would like to plot a graph with the legends at its side. However, I have managed to plot the legends, but the markers do not match the one in plot (picture bellow): My code for that plot is: ...
3
votes
3answers
121 views

How to use PlotMarkers or Mesh with Plot to creat Marks on the plot

I have a plot and I want to format it for journal paper. I just realized how hard to format a plot for academic purposes using MMA. For example: I want this plot ...
5
votes
3answers
162 views

adjust the alignment of different legends

I used Show to combine a ListPlot and Plot, and each plot has its own legend. The code is as ...
1
vote
1answer
49 views

ListLogLinearPlot with Legends

I need to plot this data in Log scale for both axes, and also need to add a legend. But since they are joined dots, the legend that appears is just a dot instead the plotstyle I choose. ...
0
votes
0answers
74 views

Fixed colors for fixed values in contourplot legend

I am trying to make a contour plot of a gravitational potential, consisting of a sum og different potential.s. I would like to plot them separately with a BarLegend that has the same colors for the ...
1
vote
2answers
177 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: ...
2
votes
1answer
271 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: ...
6
votes
6answers
261 views

PlotLegends for ListPlot with more than 15 curves?

fixed in 10.1 (windows) I'm running into trouble getting the right PlotMarkers in the legend of a ListPlot of many curves. ...
13
votes
1answer
265 views

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

Update: NOT fixed in v 10.1.0 (Mar2015) While testing the examples from this recent post, i've noticed a problem in V.10 with PlotLegends when it has to ...
0
votes
2answers
30 views

Barlegend with a different z span for ListDensityPlot

I would like to rescale the colors in a plot and to do this in the same way for the color bar. (So this enables me to have the color bar span a (z) range larger than than the data itself.) I got this ...
1
vote
2answers
91 views

How to make legends in Graphics?

To make an equilateral hexagon, here is my code in mathematica: ...
1
vote
1answer
40 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
57 views

Plotlegend does not work [closed]

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
154 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: ...
2
votes
1answer
121 views
10
votes
3answers
246 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
1answer
84 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" ...
2
votes
2answers
3k views

How can I change the position of my plot legends?

As the title indicates, I want to change the current position of the legends in a combined plot. The Mathematica code I used is ...
0
votes
2answers
155 views
5
votes
5answers
586 views

How to order legend in Show?

I've asked this question in Wolfram community and have not received a response. I am wondering why when I use Show to combine 6 plots, the plot legend does not ...
2
votes
2answers
66 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
253 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
77 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 ...
3
votes
1answer
266 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` ...