# Questions tagged [legending]

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.

909 questions
Filter by
Sorted by
Tagged with
49 views

### Graphic options stop working when displaying multiple contourplots

I want to show multiple contourplots next to each other as shown in the following picture: I tried the following code: ...
• 437
44 views

### Scaling problem with plot and legend

First of all look at these code- ...
1 vote
38 views

### How to change positioning of legends using Show command?

In reference to "https://mathematica.stackexchange.com/questions/267013/how-to-change-layout-of-a-legend-in-show-function", the solution is provided. My question is: If I have 5 curves each ...
73 views

### Aligning a plot with another function through bar legend

I have a parametric funtion say, (f(t) cos t, f(t) sin t) and another function g(t). Now I want to plot (f(t) cos t, f(t) sin t) and show g(t) in bar legend for same range of t. for example t=0.5 ...
90 views

### Legend issue with Log10 scaling on ListContourPlot

I'm trying to ListContourPlot some data with a Log10 scale. I tried adapting the answer from this post (thanks azerbajdzan), but ...
• 131
63 views

### DensityPlot with parameter

I want to plot temperature profile for shadow radius. So here is my code. ...
71 views

### Combining legends from parameterized plots and positioning these to not exceed frame width

I have combined five different plots based on a parameter each with its own legend. Now, I want to position legends below the combined plot. The following is one of the sample codes: ...
37 views

### Density plot of a function and bar legend for a different function

I am trying to plot x^2+y^2=r^2 for a set of values of r and there is another function T=T(r). I want to create a density plot for x^2+y^2 which shows the bar legend for T as shown in the image, but r ...
690 views

### Colorbar to illustrate the change of a specific parameter

I have plotted a sine function where the period is varied. I have included my code below. ...
• 373
487 views

### How to get a single rainbow coloured legend for a group of rainbow coloured curves all having same line style?

A test code to clarify the requirement: ...
37 views

### Color Range of Chart Style in DensityHistogram and How to Annotate?

I have experimental data in the structure of thousands of {x,y} set. So, I want to get the 2D histogram of x and y. I found the Function called DensityPlot and DensityHistogram. The former seemed that ...
• 365
157 views

### How to force LineLegend to be independent from the plot

I want to design the plot legends independent of the plot style I use in ListLinePlot. So I do: ...
• 1,287
127 views

### How can I add a marker or meshpoint to the start and end of a ListLinePlot or DateListPlot

How can I add a marker or meshpoint to the start and end of a line in ListLinePlot or DateListPlot? I would like to be able ...
188 views

### How to increase height of square brackets in legend label?

I'd like the square brackets to be taller in the following legend label, so that they extend as high as the 6 in $10^6$. The most success I've had is by using MaTeX, but I'd prefer a built-in solution,...
• 980
43 views

### Expressions in PlotLegends

When the order of the Bessel function is negative, it will automatically be evaluated in PlotLegends. ...
• 2,151
164 views

### Manipulating color theme inside color function

I have the following code: ...
• 2,423
21 views

### Adding legends to a video made of figures

To simplify the question, let's assume I am generating some figures using graphics = Table[ Plot[Sin[n x], {x, 0, 4 Pi}], {n, 1, 5, 0.5}]; and convert the ...
• 357
132 views

### Getting contour levels in BarLegend to match their tick location instead of being equally spaced

Currently, I have the following BarLegend[{colourScheme, {0, 10}}, {0.1, 5, 5.5}] The contours are evenly distributed across the colourbar. I want them to sit ...
127 views

### How to control the position of a label to be between the Frame and the plot

How can we get this layer arrangement of the output content: curve, label, and frame on top? I want to send the curve in this code to the back behind the curve and frame. ...
• 4,644