Re: line thickness 2D plot legend
- To: mathgroup at smc.vnet.net
- Subject: [mg68060] Re: line thickness 2D plot legend
- From: dimmechan at yahoo.com
- Date: Fri, 21 Jul 2006 17:35:57 -0400 (EDT)
- References: <e9nkk6$9rd$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
julia.strassburg at gmx.de :
> For a 2D Plot in Mathematica: How can I modify the line thickness in
> the legend of a 2D Plot. The lines in the plot can be made thickner
> through PlotStyle->{Thickness[0.08]}, but this does not influence the
> legend. How can I change the line thickness there?
I have searched a lot to do what you want but I failed.
However, if you executed the following command you will see that Epilog
may be helpful for you.
Plot[{BesselJ[0, x], BesselJ[1, x], BesselJ[2, x]}, {x, 0, 10}, Frame
->
True, Axes -> False, PlotStyle -> {{Thickness[0.008],
Dashing[{0.04, 0.04}]}, Thickness[0.005], Thickness[0.009]},
FrameStyle -> Thickness[
0.004], FrameLabel -> {"x
", TraditionalForm[BesselJ[n, x]]}, TextStyle -> {FontFamily
-> "
Times", FontWeight -> "Bold", FontSize -> 14}, PlotLabel ->
"Bessel \
plots", Epilog -> {{Text["n=0", {8, 0.5}]}, {Text["n=1", {8, 0.7}]}, {
Text["n=2", {8, 0.9}]}, {
Thickness[0.005], Line[{{6.3, 0.7}, {7.3, 0.7}}]},
{Thickness[0.008],
Line[{{6.3,
0.5}, {6.7, 0.5}}]}, {
Thickness[0.008], Line[{{7, 0.5}, {7.3, 0.5}}]}, {
Thickness[0.009], Line[{{6.3, 0.9}, {7.3, 0.9}}]}}]
Cheers,
Jim