MathGroup Archive 2009

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

Search the Archive

Re: contourlabels in contour plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97044] Re: contourlabels in contour plot
  • From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
  • Date: Tue, 3 Mar 2009 05:57:53 -0500 (EST)

Hi, Pasha,
try this:

ContourPlot[(a + b)^2, {a, 0, 4}, {b, 0, 1.3},
 ColorFunction -> GrayLevel, Axes -> True, AxesLabel -> {a, b},
 LabelStyle -> Directive[Black, Large, Bold],
 ContourLabels -> (Text[Style[#3, 10], {#1, #2}] &), Frame -> False,
 PlotRange -> {16, 24}, Contours -> 10]

Play with the figure 10 in ...Text[Style[#3, 10],... , it is your parameter.
Have success, Alexei

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


-- 
Alexei Boulbitch, Dr., Habil.
Senior Scientist

IEE S.A.
ZAE Weiergewan
11, rue Edmond Reuter
L-5326 Contern
Luxembourg

Phone: +352 2454 2566
Fax:   +352 2454 3566

Website: www.iee.lu

This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation.




  • Prev by Date: Re: different output!!
  • Next by Date: RE: Re: Do Hershey Vector Fonts exist in Mathematica?
  • Previous by thread: Re: contourlabels in contour plot
  • Next by thread: Re: Example for NetworkFlow function