Simple plotting question: I'd like to keep the base style of the "Business" theme, but with two slight modifications:
- Use
CapForm
to round the ends of my plot curve - Override the
Frame
option so I have a y axis frame too
Here's the code:
bceLoss = -(#Target*Log[#Input] + (1 - #Target)*Log[1 - #Input]) &;
Plot[Evaluate@bceLoss[<|"Input" -> p, "Target" -> 1|>], {p, 0, 1},
FrameLabel -> {"Probability of Ground Truth Class", "Loss"},
Frame -> {{True, False}, {True, False}}, PlotTheme -> "Business"]
PlotStyle -> CapForm["Round"]
works for me. I don't know how to force theFrame
. $\endgroup$ – Szabolcs May 16 '18 at 18:20