Questions tagged [legend]
A graph legend is commonly used when plotting several sets of data within the same diagram. The legend associates each plot with its corresponding data.
legend
5,164
questions
9
votes
4
answers
14k
views
legend tag and Chrome
I've looked everywhere but to no avail.
I got a <legend> in a form, which displays as I want in every browsers, except in Chrome. It's like it sits outside of the fieldset, or it's like it ...
0
votes
1
answer
4k
views
fusion chart legend
I am using FCF_Pie3D.swf to display a chart.I set showLegend="1", but it does not show a legend/label. Why ?
7
votes
5
answers
20k
views
Create map legend to match OpenLayers.Style
I've created an OpenLayers.Style that colours my polygons, a style that sizes my points and all that jazz, now I want to explain to the user what those styles represent.
I can't see anything in ...
-1
votes
2
answers
182
views
Programatically changing the line ending in a legend control,c#
All,
I am using an HTML control in my asp.net app.I run this as a server control and programatically access this from my code behind(C#) class.Plase see the markup.
. The innerHTML property is set ...
6
votes
1
answer
3k
views
R - legend: assign multiple colours to the same text
I have an R barplot that has six bars divided into two parts each, and six colours - but several of the colours mean the same thing. How can I assign one text to several colours in the legend? Thanks ...
1
vote
2
answers
3k
views
RDLC Pie chart, legend to show value from database
I have a .RDLC with one pie chart designed.
The pie chart is used to display the slices of a service which we offer.
We offer 3 levels of service - 1, 2 and 3. 1 = Office demo. 2 = Trial and 3 = ...
3
votes
1
answer
8k
views
plotting heatmaps with ggplot2; logscale color and modify color legend
I am trying to create a heatmap with ggplot2 (you see the code below)
Now there are two things i want to change:
I plot pValues (which are hopefully very small) so i want plot the colors logscale. i ...
31
votes
1
answer
31k
views
Missing legend with ggplot2 and geom_line
How does one get a legend to display when plotting lines in ggplot? I've been trying all evening but have been unsuccessful.
p <- ggplot(output, aes(lambda), legend=TRUE) +
geom_line(aes(y=...
5
votes
1
answer
4k
views
Matplotlib Legend Height in pixels
I need to know the size of the legend in pixels. I seem to only be able to get height = 1. from any function... I've tried the following
this returns 1.
height = legend.get_frame()....
43
votes
10
answers
98k
views
How to position the legend inside a fieldset with a border? [duplicate]
According to the several references on the web, it is not possible to position a legend. So it is suggested to wrap it with span:
<legend><span>Foo</span></legend>
Then we ...
2
votes
1
answer
3k
views
How to reduce the font of the text in the legend box printed in the plot?
I am trying to plot around 10 plots in a single figure. I also could put the legend box separately. But, I am unable to reduce the size of the font in the legend box. Can anybody suggest me the ...
1
vote
1
answer
503
views
IE7 acronym underline in a fieldset legend
I have an acronym inside of a fieldset/legend:
<fieldset>
<legend>
<acronym>foo</acronym>
</legend>
</fieldset>
In Firefox this gets rendered with ...
5
votes
2
answers
6k
views
Matlab Legend after FOR loop
I am creating a file to read in a certain number of .wav files, each of these corresponding to a musical note. I am performing an FFT on each of them and plotting them all on the same figure. However ...
6
votes
3
answers
4k
views
Why does the ggplot legend show the "colour" parameter?
I have the following example:
data <- structure(list(a = c(-1.25549186262767, -0.840855480786298, -
0.635371312524283,
-0.602907981454667, -0.472166385166945, -0.285773634866154, 0....
1660
votes
18
answers
1.9m
views
How to put the legend outside the plot
I have a series of 20 plots (not subplots) to be made in a single figure. I want the legend to be outside of the box. At the same time, I do not want to change the axes, as the size of the figure gets ...