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
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
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.