We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 178696e commit 8fc26b1Copy full SHA for 8fc26b1
1 file changed
Graphics/Dynamic/Plot/R2.hs
@@ -1248,8 +1248,11 @@ uncertainFnPlot :: ∀ m . (SimpleSpace m, Scalar m ~ ℝ)
1248
=> (ℝ -> (m +> ℝ)) -> Shade' m -> DynamicPlottable
1249
uncertainFnPlot = case linearManifoldWitness :: LinearManifoldWitness m of
1250
LinearManifoldWitness BoundarylessWitness -> \mfun (Shade' mBest me)
1251
- -> plot [ continFnPlot (($ mBest^+^δm) . mfun)
1252
- | δm <- normSpanningSystem' me ]
+ -> plot $ continFnPlot (($ mBest) . mfun)
+ : [ tweakPrerendered (Dia.opacity 0.2)
1253
+ $ continFnPlot (($ mBest^+^σ*^δm) . mfun)
1254
+ | δm <- normSpanningSystem' me
1255
+ , σ <- [-1,1] ]
1256
1257
linregressionPlot :: ∀ x m y . ( SimpleSpace m, Scalar m ~ ℝ, y ~ ℝ, x ~ ℝ )
1258
=> (x -> (m +> y)) -> [(x, Shade' y)]
0 commit comments