Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Legend

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81128] Legend
  • From: "Cetin Haftaoglu" <cetin.haftaoglu at bam.de>
  • Date: Thu, 13 Sep 2007 06:29:13 -0400 (EDT)

Hello,

 

I want combine a Plot and a ListPlot - Graphics and I want also use a Legend
to name the both curves.

 

plta=ListPlot[{0,1,4,9,16,9,4,1,0},PlotStyle->Red]

pltb=Plot[x,{x,0,9},PlotStyleRBlue]

 

Show[plta,pltb]

 

How can I insert a Legend with points for the Listplot and lines for the
function-plot?

 

Thanks in advance.

 

Regards,

Cetin




  • Prev by Date: Distinguishing Strings from Symbols
  • Next by Date: Optimization with symbolic paramters
  • Previous by thread: Re: Distinguishing Strings from Symbols
  • Next by thread: Optimization with symbolic paramters