MathGroup Archive 2008

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

Search the Archive

Re: ShowLegend font size

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90293] Re: [mg90244] ShowLegend font size
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 4 Jul 2008 04:01:13 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

With version 6 use BaseStyle

Needs["PlotLegends`"];

ShowLegend[DensityPlot[Sin[x y],
  {x, 0, Pi}, {y, 0, Pi},
  Mesh -> False, PlotPoints -> 30], {ColorData["LakeColors"][1 - #1] &, 10,
  "  1", "-1",
  LegendPosition -> {1.1, -.4}, BaseStyle -> 14}]


Bob Hanlon

---- Jan Schmedes <jasch at crustal.ucsb.edu> wrote: 

=============
Dear Group,

in a call of ShowLegend like the following from the documentation 
center, how do I change the font size for the "1" and "-1".
Something like Style["1",14] or Text@Style["1",14] does not seem to 
work here

ShowLegend[
  DensityPlot[Sin[x y], {x, 0, =B9}, {y, 0, =B9}, Mesh -> False,
   PlotPoints -> 30], {ColorData["LakeColors"][1 - #1] &, 10, " 1", 
"-1",
   LegendPosition -> {1.1, -.4}}]


Thank you!!!

Jan




  • Prev by Date: lie symmetry package
  • Next by Date: Re: Set::setps problems
  • Previous by thread: ShowLegend font size
  • Next by thread: Re: ShowLegend font size