Commit Graph

24 Commits

Author SHA1 Message Date
Émilie Feral
d1686ecfeb [apps/statistics] Avoid rounding error
Change-Id: I92e2a5d29ac18cbb3559f0cd30eeb9e921b31780
2017-01-09 15:08:54 +01:00
Émilie Feral
8d94b4f26b [apps]Make the curve view margins customisable
Change-Id: I7a632ae9ad98ae0b92a2259fa8465c3aecfbf570
2017-01-09 15:08:54 +01:00
Émilie Feral
88166440b0 [apps] In curve view, merge drawDiscreteHistogram and drawHistogram
methods in a unique method

Change-Id: I7093f1c0d639cc77f7e73bddf15fadc5c967823b
2017-01-09 15:08:54 +01:00
Émilie Feral
699ee7ddc5 [apps] CHange name in curve view:
evaluateCurveAtAbscissa->evaluateModelWithParameter

Change-Id: Iface679b85d20fc59e8197eb14b516ad86d97862
2017-01-09 15:08:54 +01:00
Émilie Feral
fecf0eb3a5 [apps/statistics] Change name: barStart -> firsBarAbscissa
Change-Id: Ia5d39ff3d4b8539b9028afd55476a0d310578dde
2017-01-09 15:08:54 +01:00
Émilie Feral
e8bb416bec [apps] In cuve view, always put KDContext and KDRect as first parameters
Change-Id: I606f6bbe798fba9c75cd98e8857cd020b0eb0ca0
2017-01-09 15:08:54 +01:00
Émilie Feral
6d550f2c8d [apps] Add a method draw segment to draw curve view
Change-Id: I770cf498ecb58a0d12a4019278ef4e536cad2401
2017-01-09 15:08:54 +01:00
Émilie Feral
fd8613ac7a [apps/statistics] Redesign data API with Romain
Change-Id: I666125ae85e04311806379a4ec2255c256f253f2
2017-01-09 15:08:53 +01:00
Émilie Feral
8aff2dac2b [apps] In curve view, distinguish 2 methods to draw discrete histograms
and any histogram

Change-Id: I52cec9a3c063d80b0385f8dded1e3de9f6837fdc
2017-01-09 15:08:53 +01:00
Émilie Feral
bbe4723218 [apps] Correct error: when drawing curves, ignore NAN values
Change-Id: I9e525f9e3f07e014fd60c88f19d932ad27d2c835
2017-01-09 15:08:53 +01:00
Émilie Feral
f00492fb59 [apps] Add a margin around the window when drawing curves
Change-Id: Iaf806c1f9e710dabc89f78b60d1c2985c9659012
2016-12-21 14:50:36 +01:00
Émilie Feral
4d62c6c9bd [apps] Use curve view window in the abstract class curve view
Change-Id: I2c54cb111944f294e00d45244f23cdda9984bf02
2016-12-21 14:50:36 +01:00
Émilie Feral
4e1bd2b477 [apps/graph/graph] When redrawing the curve, slightly exceed the rect to
ensure the continuity of the curve

Change-Id: I7dcdc53dc14819b7bf1327a7ba98d459b3bc9c63
2016-12-21 14:50:35 +01:00
Émilie Feral
1f1945fe63 [apps/probability] Draw continuously law curves
Change-Id: I742e46e7ebd7f0cf17d8397c2fe5b250d3a9a558
2016-12-19 14:13:13 +01:00
Émilie Feral
4a4d466c6b [apps] Enable to color under curves in curve view
Change-Id: I5557481fe1c4f72cb5873736b12cafd7a20763ed
2016-12-16 16:55:41 +01:00
Émilie Feral
c38adbd6c5 [apps] In curve view, add a boolean to decide whether to shift the
origin label

Change-Id: Id5701df32e08030cfd3a2c9e3f7fbc08fc1e2136
2016-12-16 15:15:55 +01:00
Émilie Feral
3732a707ab [apps/probability] Draw histograms for discrete laws
Change-Id: Ib18418dfd297bfad06f9f4c99c7a3e80cbf9115b
2016-12-15 16:20:07 +01:00
Émilie Feral
7c259dbf1b [apps] Correct errors in curve view
Change-Id: I8849b277f536161801f8b577c5090bf4f2c23500
2016-12-15 16:18:01 +01:00
Émilie Feral
38b8c6dbd7 [apps] Change curve view API
Change-Id: I77984536d1a8b4197b02e2f005590537a46d8084
2016-12-15 13:51:41 +01:00
Émilie Feral
ca4b5d511a [apps/graph/graph] Optimize the redrawing of the graph view when only
the cursor has changed

Change-Id: I34fbe3d4599474ae821f508078d5236362260dc0
2016-12-15 13:51:32 +01:00
Émilie Feral
32d9f9516a [apps] Change name: scale->gridUnit
Change-Id: I1616bdf2c317fa2c8d35ff243ca5ae125ef9a799
2016-12-13 15:10:02 +01:00
Émilie Feral
542847ee45 [apps] In curve view, blend the labels not to hide potential grids
Change-Id: Ica741625b3207b66614dea39ad7ce8d156e1433b
2016-12-08 15:21:52 +01:00
Émilie Feral
4bef23b7e2 [apps] Make the abstract curve view hold methods to draw labels
Change-Id: Ib1451b51c6d16db27487b5c9d34cd345fcf379f0
2016-12-08 15:21:52 +01:00
Émilie Feral
eeb17625d1 [apps] Create a curve view to draw curves from any expression
Change-Id: I6e1183a560042688c596e3aa2385ab3bf0dcda2c
2016-12-08 15:21:52 +01:00