Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12963
| From | dabd <dario.rehman@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | format legend? |
| Date | 2012-12-28 10:32 +0000 |
| Message-ID | <kbjsfi$mvg$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
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.
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
format legend? dabd <dario.rehman@gmail.com> - 2012-12-28 10:32 +0000
csiph-web