Skip to main content
10 events
when toggle format what by license comment
Jun 29, 2016 at 22:18 vote accept Mikhail Genkin
Jun 24, 2016 at 21:40 comment added Mr.Wizard You can convert your If expression to Piecewise with PiecewiseExpand, and then this question is a direct duplicate of the one now linked above your post. See also: (6826), (8199)
Jun 24, 2016 at 21:39 history closed Mr.Wizard plotting Duplicate of Plotting piecewise function with distinct colors in each section
Jun 24, 2016 at 21:31 comment added Mikhail Genkin That works, thanks
Jun 24, 2016 at 20:30 comment added Szabolcs That is simply not possible. Show never changes the colour. Are you using Show[Plot[..., PlotStyle -> Red], Plot[..., PlotStyle -> Blue], PlotRange -> All]? I forgot to say that you might need PlotRange -> All within Show.
Jun 24, 2016 at 20:26 answer added andre314 timeline score: 6
Jun 24, 2016 at 20:16 comment added Mikhail Genkin Unfortunately, that didn't work. When I plot them separately (defining color using PlotStyle), everything works. Once I combine them with Show function, it plots everything with the second color, ignoring the first
Jun 24, 2016 at 20:09 answer added mikado timeline score: 5
Jun 24, 2016 at 20:05 comment added Szabolcs Make two plots and combine with Show.
Jun 24, 2016 at 20:01 history asked Mikhail Genkin CC BY-SA 3.0