| Author |
Comment/Response |
Stefan
|
09/15/11 09:02am
Hi,
I am combining the "Plot" and "If" functions and somehow the resulting graph is only in one style.
Mickey Mouse example:
Plot[If[x < 2, {x^2, x^3}, {x + 2, x + 5}], {x, 0, 5}, PlotStyle -> {Dotted, Dashed}]
What comes out of this command is a dashed graph, however since there are two lines I want Mathematica to draw one Dotted and one Dashed one and not both Dashed.
Thanks for your help
Stefan
URL: , |
|