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