Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8384
| From | cylurian <cylurian@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Something other than PlotStyle to change look of graphs |
| Date | 2012-02-08 10:26 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jgtil7$67p$1@smc.vnet.net> (permalink) |
I have three functions in one plot. I'm using PlotStyle to
differentiate the graphs, but I need more options. I need each graph
to have some special marker, like a diamond, circle, etc. I'm using
Mathematica 8 and I'm also using PlotLegend. Any suggestions?
My code is:
Plot[{SurvivalFunction[WeibullDistribution[2.2, 3.2], x],
SurvivalFunction[LogNormalDistribution[.1, .8], x],
SurvivalFunction[ExponentialDistribution[.6], x]}, {x, 0, 5},
PlotStyle -> {{ Black, Thickness[Small]}, {Dashing[Tiny],
Black}, {Dashing[Large], Black, Thickness[Large]}},
AxesLabel -> TraditionalForm /@ {t, "S(t)"}, Ticks -> None,
DisplayFunction -> Identity,
PlotLabel -> Style["Survival Curves", FontSize -> 18],
PlotLegend -> {"Weibull", "LogNormal", "Exponential"},
LegendPosition -> {.3, -0.1}, LegendTextSpace -> 4,
LegendLabelSpace -> .5, LegendLabel -> "Survival Curves",
LegendOrientation -> Vertical, LegendBackground -> White,
LegendSize -> .4, ShadowBackground -> White]
thx.
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Something other than PlotStyle to change look of graphs cylurian <cylurian@gmail.com> - 2012-02-08 10:26 +0000 Re: Something other than PlotStyle to change look of graphs Chris Young <cy56@comcast.net> - 2012-02-10 10:51 +0000
csiph-web