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
62 views

Another one problem with legends on GraphicsGrid

I have used ListLinePlot to generate this grid of plots: and I want to add a legend in Row Layout below this grid. My code, has as follows: ...
3
votes
1answer
36 views

In LineLegend, how do I force the legend entries to appear in a single column?

I want to create a single column LineLegend with at least 12 different entries. Suppose that I define lists colors and ...
0
votes
0answers
50 views

Putting a plot legend in the plot [closed]

I use the code below to put plot legends in the plot: ...
2
votes
1answer
92 views

PlotLegends and ImageSize

I have Mathematica 9.0.1, and I have problems with PlotLegends breaking the ImageSize directive. I defined ...
1
vote
0answers
59 views

Gray background in export pdf

I am trying to output a simple plot with a legend and the output keeps coming out with a gray background. A simple example is the following: ...
4
votes
3answers
106 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 ...
4
votes
3answers
130 views

How to make an arbitrary number of plots have different labels/colors/etc?

I'm sorry but I'm not sure how to phrase this question well. Frequently I have a function that produces and returns a Plot[] or array of Plot[]'s, which I can then display with Show[], or combine with ...
2
votes
2answers
145 views

Parametric plot of multiple graphs on the same axes

I'm trying to plot on a single axes system multiple graphs but ran into a problem when tryinf to label my graphs. Here's what I've used so far Mathematica code: ...
8
votes
1answer
191 views

How does PlotLegends actually work with ListPlot3D?

I'm sensing this might be a rookie mistake but normally I roll my own legends but decided to try the built in legends for a ListPlot3D. ...
2
votes
1answer
114 views

Single Legend for a Table of Plots

For this toy problem ...
3
votes
2answers
93 views

Can I frame text in a plot to look like legend?

I have a DateListPlot, much the same as below, that I want to overlay text onto. I'd like the text to be wrapped in a frame much the same way as the legend box is, ...
6
votes
1answer
89 views

Why does not BarLegend accept user-defined color function?

I encountered a really strange problem with BarLegend. Say you have a user-defined color function: ...
2
votes
1answer
157 views

Legends in a combined Plot and ListPlot

This question is related to the previously asked question Legends in combined Plot and ListPlot. Since Mathematica 9 introduced new option PlotLegends, I was ...
0
votes
1answer
66 views

A few specific questions on a number of plots in a do loop

I have created the picture displayed below, with the following line of code: ...
2
votes
1answer
105 views

How can I plot a picture with this kind of legend?

Can "plotlegend" do that? I cannot find a proper function.
3
votes
0answers
91 views

Problem with exporting a plot with a legend to PDF

I've found a simple example that illustrates my problem: ContourPlot[x^2 - 1 == y, {x, -1, 1}, {y, -1, 1}, PlotLegends -> "Expressions"] When I try to export ...
0
votes
1answer
101 views

Showing the value a plotted function achieves at the right-most point of the plot domain

I'm plotting results from NDSolve, and I'd like to clip them with their value at the point where the line is clipped. So where the curve ends at the edge of the plot, there would be a number ...
2
votes
3answers
347 views

How can I save both the plot and the legend together?

In this example, How can I punt the Legend INSIDE the graph. Because when I save the graph, only save the graph BUT not save the legend. ...
3
votes
1answer
149 views

How to reverse the gradient and ticks in BarLegend

I created a plot with a horizontal BarLegend for TemperatureColors (see1). Code: ...
6
votes
3answers
259 views

Fill circle layers with colors according to read values from a plotted curve

I want to read (temperature) values from plotted (cooling) curves and visualize them in layered circles. I have an example made manually for clarification: 3 plotted curves, at certain time steps ...
6
votes
1answer
169 views

In version 9 PlotLegends, how can I remove the strange edges that appear around LegendMarkers?

I'm running Mathematica version 9. I am using ListPlot to plot two sets of data. For each data set, I am using different ...
5
votes
2answers
314 views

Too much whitespace in a GraphicsGrid containing Legended Plots

Where is all the vertical whitespace coming from, and how do I get rid of it? ...
10
votes
3answers
409 views

How to use legends from PlotLegends in LevelScheme?

I've been attempting to find efficient ways to generate graphics with legends for export, and have been working with both LevelScheme and the new (to v9) ...
0
votes
0answers
41 views

Running PlotLegends in Mathematica 8 [duplicate]

I will like to get a density plot (in Mathematica 8) as in: Make legend same height as plot. However, anytime I run ...
0
votes
1answer
602 views

ContourPlot Legend with colorbar for arbitrary contour values

I have a ContourPlot in which I have specified the contour-values myself as Contours->{0.01, 0.05, 0.1, 0.2, 0.3}. I would like to get the corresponding contour-values to be shown in the color-bar in ...
1
vote
3answers
658 views

Mathematica 8: ContourPlot finding out max and min function values [duplicate]

I have a ContourPlot where I have let Mathematica draw the contours automatically. I would like to extract the zmax and zmin contour values that have been determined internally so that I can pass them ...
1
vote
2answers
369 views

Manipulating Frame labels when legends are also there

I am plotting a few curves inside a frame with labels on three of its sides; left, right and bottom. I want legends to be places at the top. The problem which I am facing is that the top label ...
2
votes
1answer
214 views

Legends for multiple curves

Dear users I am a new member here and I would like to ask a question about PlotLegends. I have multiple curves and want to make their legends bit more visible. ...
2
votes
1answer
525 views

How to increase font-size of Text in ShowLegend

The default font-size of Legend text generated using ShowLegend[] is too small. How does one increase this? The code I am ...
9
votes
4answers
586 views

Changing the tick labels in a BarLegend

In the following plot, the colors mean the phase, so I need to label the color bar not in integers, but in increments of $\pi$. I searched, but could not find how to change the ticks. Does anyone have ...
0
votes
0answers
26 views

Strange behaviour of LineLegend with subscripts [duplicate]

I would like to create a legend for my plot with this code: ...
0
votes
4answers
448 views

Problem with plotting legends using the PlotLegends package

Here is my problem : I have a table composed of 3 "under"-Lists and I'd like to plot it with legends, but I can't find a way to do it. ...
0
votes
0answers
89 views

How to add labels to a graph [duplicate]

This should be an easy question but since few examples are given for ShowLegend and I am a new user, I got stuck after many attempts. I plot three graphs which are ...
1
vote
2answers
173 views

Clear labelling gray-scale plots

I am plotting a number of functions (at least 4 in one plot) with a legend. Needless to say, it is important that it is clear from the legend which line belongs to which function. I tried to play ...
7
votes
2answers
711 views

Legends in combined Plot and ListPlot

I have a set of data ...
0
votes
0answers
176 views

How to put the Legend in the free space?

HI I have 5 plots in a Grafics and want to put the Legend in the free space and not to each plot. (as it is always the same legend.) HOw can I do that? Thanks. ...
0
votes
1answer
269 views

Hue-like Legend spectrum with bright colors for a plot

I use Hue to color ArrayPlot: ...
2
votes
1answer
217 views

Mesh inside Plot legend

I have a plot for which I would like to create an legend that is black and white printer friendly. I have seen Jen's legendmaker but I don't know how to adapt it. I need help in making the legend for ...
2
votes
2answers
206 views
0
votes
1answer
364 views
4
votes
2answers
157 views

How to raise the LegendLayout “Row” size

When using LegendLayout->"Row", with a lengthy row, I get line breaks. This would seemed logic if it was confined by another structure. But if happens even when ...
4
votes
1answer
183 views

Dynamic legends involving show

My question is how do I get dynamic legends (legends that turn data on/off) to work with Show? This is an extension of an old question here; How to dynamically toggle curves on/off in a crowded ...
3
votes
1answer
158 views

Problem with the Plot of Functions and PlotLegends

For some odd reason the PlotLegends output is not as expected. ...
2
votes
1answer
200 views

Normalize the PlotLegends and z values for two DensityPlot

I'm trying to compare two DensityPlots: ...
1
vote
1answer
234 views

Concerning ShowLegend in Mathematica

I found a code for Mie Scattering from 2007, written for Mathematica. I have edited it quite a bit, since there are package definitions that we don't need, etc. But I am having difficulties ...
1
vote
1answer
319 views

Dynamically labeling a family of curves [duplicate]

I have created some simple code which generates a plot. This plot contains a family of curves created by changing a single parameter "k". I use the Table function within the Show function to iterate ...
1
vote
2answers
845 views

Font size in PlotLegends, using Table to generate the list in the legend

I am currently trying to get to graph with several functions as below. My problem is that I cannot change the font size in the legend (authomatically generated numbers by "Table" function). This code ...
0
votes
1answer
129 views

Labelling Curves Using ListLogLinearPlot within DynamicModule (So Close)

I currently have a large number of time-series datasets in the form where the name and time-series transposed data, so I have a list of lists of names for datasets and their time-dependant data. The ...
5
votes
1answer
630 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 ...
2
votes
1answer
244 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. ...