MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: INCLUDE A LEGEND IN A GRAPHIC

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99419] Re: [mg99377] INCLUDE A LEGEND IN A GRAPHIC
  • From: "David Park" <djmpark at comcast.net>
  • Date: Tue, 5 May 2009 05:43:06 -0400 (EDT)
  • References: <5328111.1241432323874.JavaMail.root@n11>

You could paste the data into the posting by copying as InputText and
pasting in the following form:

f1 = {2, 0, 2, 2, 6, 8, 19, 5, 5, 7, 13, 8, 5, 7, 4, 3, 4, 10, 3, 4};

I'm not quite certain what you mean by a 'legend' in this case but maybe one
of the following constructions works.

BarChart[f1,
 Epilog -> {Text[Style["BlaBla", 16], Scaled[{.7, .8}]]},
 PlotLabel -> "Title BlaBla"]


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


From: Alain Mazure [mailto:alain.mazure at oamp.fr] 


   Hi


The command

BarChart [f1]

gives a plot of the following histogram values f1

  How to include a legend ( " BLABLA" ) in the plot?

I tried without success using ShowLegend

VERSION MATHEMATICA 7.0


Thanks


f1  is:

2
0
2
2
6
8
19
5
5
7
13
8
5
7
4
3
4
10
3
4


Alain Mazure

Laboratoire d'Astrophysique de Marseille
P=F4le de l'=C9toile Site de Ch=E2teau-Gombert
38, rue Fr=E9d=E9ric Joliot-Curie
13388 Marseille cedex 13, France

http://alain.mazure.free.fr/

Mails:
alain.mazure at oamp.fr
alain.mazure at free.fr

Phones:
Lab: 33(0)491055902
Mobile: 33(0)603556287
Fax: 33(0)491661855
SKYPE: MAZURE-ALAIN






  • Prev by Date: Re: why does DownValues not return all downvalues for a symbol?
  • Next by Date: Re: Re: text book style sheets
  • Previous by thread: Re: INCLUDE A LEGEND IN A GRAPHIC
  • Next by thread: using FileNames[] on large, deep directories