MathGroup Archive 2002

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

Search the Archive

RE: PlotLabel


You should use SequenceForm in your definition (instead of multiplication
which reorders the items) .

pl[p_] := Plot[Sin[x^p], {x, 0, Pi}, PlotLabel -> SequenceForm["p = " , p],
    DisplayFunction -> Identity]

David Park
djmp at

From: André Giroux [mailto:giroux at]
To: mathgroup at

Hi all.
I plot several curve depending on a parameter p and I want the PlotLabel to
show the value of p.
What is wrong with the following ?

pl[p_]:=Plot[Sin[x^p],{x,0,Pi},PlotLabel\[Rule] "p = " p,



  • Prev by Date: kernel density estimation
  • Next by Date: RE: How to ...?
  • Previous by thread: kernel density estimation
  • Next by thread: Re: PlotLabel