Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12963 > unrolled thread

format legend?

Started bydabd <dario.rehman@gmail.com>
First post2012-12-28 10:32 +0000
Last post2012-12-28 10:32 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  format legend? dabd <dario.rehman@gmail.com> - 2012-12-28 10:32 +0000

#12963 — format legend?

Fromdabd <dario.rehman@gmail.com>
Date2012-12-28 10:32 +0000
Subjectformat legend?
Message-ID<kbjsfi$mvg$1@smc.vnet.net>
Plot[Evaluate[{(b/(b + 1)) (n/(1 - n))} /. 
   n -> Range[0.05, 0.40, 0.05]], {b, 0, 2}, 
 PlotLegends -> 
  Table[StringForm["n=``", 
    ToString[k, InputForm, NumberMarks :> False]], {k, 0.05, 0.40, 
    0.05}]]

How can I format the numbers in the legend with 2 decimal places?

Thanks.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web