Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: contourlabels in contour plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97006] Re: contourlabels in contour plot
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Sun, 1 Mar 2009 04:59:13 -0500 (EST)
  • References: <gob7sd$g61$1@smc.vnet.net>

Hi Pasha,

Your example didn't show any contours, but that's because you used an
incorrect PlotRange.

You can change the fontsize of the contour lables by adding the option
BaseStyle -> {FontSize -> 20}. You can change the size of the axis
labelling by replacing the directive Large with FontSize -> x, with x
the desired font size.

Cheers -- Sjoerd

On Feb 28, 1:41 pm, "Pasha Karami" <kar... at geo.uu.nl> wrote:
> Hi,
>
> I was wondering that in Mathematica 6 how can we define a specific size
> and special font for the labels of a certain contour plot.
> As we change the size of contourplot, the labels stay same size!
>
> For example
> ContourPlot[a+b,{a, 0, 4}, {b, 0, 1.3}, ColorFunction -> GrayLevel, Axes
> -> True, \
> AxesLabel -> {a, b}, LabelStyle ->
>  Directive[Black, Large,
>   Bold], ContourLabels -> Automatic, Frame -> False, PlotRange -> {16,
>    24}, Contours -> 10]
> we always get one size for the contourlabels.
>
> Thankyou in advance!
> Pasha



  • Prev by Date: Re: wrong solution for double integral of piecewise function?
  • Next by Date: Re: Example for NetworkFlow function
  • Previous by thread: Re: wrong solution for double integral of piecewise function?
  • Next by thread: Re: contourlabels in contour plot