[Date Index]
[Thread Index]
[Author Index]
PlotLegend Question
*To*: mathgroup at smc.vnet.net
*Subject*: [mg99261] PlotLegend Question
*From*: "Kevin J. McCann" <Kevin.McCann at umbc.edu>
*Date*: Fri, 1 May 2009 05:22:48 -0400 (EDT)
*Organization*: University System of Maryland
When I use PlotLegend the amount of space devoted to the line (red line,
or whatever) in the legend is pretty small. In fact, when the line is
dashed or dash-dotted, it is difficult to tell the difference. Any ideas?
Thanks,
Kevin
Here is an example
<< PlotLegends`
bs = {FontFamily -> "Arial", FontSize -> 14, FontWeight -> Bold};
SetOptions[Plot,
Frame -> True,
FrameStyle -> AbsoluteThickness[2],
GridLines -> Automatic,
PlotStyle -> {{Red, AbsoluteThickness[2]}, {Black,
AbsoluteThickness[2]}, {Blue,
AbsoluteThickness[2]}, {Darker@Green, AbsoluteThickness[2]}},
BaseStyle -> bs
];
Plot[{Sin[x], Cos[x], Tan[x]}, {x, 0, 1},
PlotStyle -> {Directive[Blue, Thick],
Directive[Thick, Red, DotDashed], Directive[Thick, Green, Dotted]},
Background -> LightOrange, PlotLegend -> {"sin x", "cos x", "tan x"},
LegendPosition -> {-.6, 0.1},
LegendOrientation -> Vertical,
LegendBackground -> LightPurple,
LegendShadow -> {.02, -.02},
LegendSize -> {0.3, 0.35}, FrameLabel -> {"x", "trig functions"}
]
Prev by Date:
**Convex hull**
Next by Date:
**DumpSave of InterpolatingFunction increases its execution times**
Previous by thread:
**Re: Convex hull**
Next by thread:
**Re: PlotLegend Question**
| |