Commit Graph

39 Commits

Author SHA1 Message Date
Émilie Feral
c19ecaeebe [apps] In curve view, avoid to reload the whole view when reloading
cursor

Change-Id: Ie8c0e100159201cc6b11122eeb567c68092a7b06
2017-01-15 20:09:18 +01:00
Émilie Feral
a74eef903a [poincare] Redesign Float::convertTotext
Change-Id: Id27d9472147b5e443ee296feca891392fad735c8
2017-01-15 20:04:59 +01:00
Émilie Feral
d80272f695 [apps] In curve view, correct draw histogram
Change-Id: I33e78200f551a20fd66df24c2f1dfdedf8488491
2017-01-15 20:04:59 +01:00
Émilie Feral
1ed3b7effc [apps] In curve view delete obsolet warning
Change-Id: Ieb98f9bcaac5bdc725190a3c313dfe38d5d7f9bf
2017-01-15 20:04:58 +01:00
Émilie Feral
52cfe22179 [apps] In curve view, avoid white vertical lines in integral curves due
to pixel rounding

Change-Id: I936be9915a9782388b62ed8776d115fde5471cc7
2017-01-15 20:04:58 +01:00
Émilie Feral
3536607f7a [apps] In curve view, avoid bars overlapping when drawing histograms
Change-Id: I816dad350c92b47f7f912223bdc0cc5230acd3b4
2017-01-10 13:43:58 +01:00
Émilie Feral
a827558b64 [apps] In curve view, correct programming style
Change-Id: Idff43411da499ed17ced6d18475f11eff01051d2
2017-01-10 13:35:25 +01:00
Émilie Feral
affda5eae9 [apps] Modular reimplementation of application models (stores and
ranges) and of curve views/curve view controllers.

Change-Id: If4ca9bf1bec024917ef540a3fc7baefa8700f7ba
2017-01-10 13:35:19 +01:00
Émilie Feral
59e3af0571 [apps] In curve view, programming style to avoid indentation.
Change-Id: I54ea1f251280742c03d05c27883bcf0e09b06cef
2017-01-09 15:08:56 +01:00
Émilie Feral
498aa77268 [apps/graph/graph][apps] Factorize methods to draw grid in curve views
to be used in regression app

Change-Id: I5c76c3bb6eb5bdccf799098278734a5c8ad7c32d
2017-01-09 15:08:55 +01:00
Émilie Feral
e148656460 [apps/graph/graph] Avoid float comparison when shifting the origin
Change-Id: I7a420be7e2e151ffb29dc735af340cd3bae53923
2017-01-09 15:08:55 +01:00
Émilie Feral
e6e526c2cb [apps/regression] Fix bug: in the graph page, correctly redraw the dots when needed
Change-Id: I23c729003bccaaa91b593b636eee8a49ac6c6ffc
2017-01-09 15:08:55 +01:00
Émilie Feral
11787aee4e [apps] Add a method drawDot in curve view
Change-Id: Ic6b421ebe094aeeaa110a009d9251f0464941db1
2017-01-09 15:08:55 +01:00
Émilie Feral
ff3d8dce5a [apps] Display float in decimal mode in curve views and title
Change-Id: I3c069f3e001b43c98d4c54975b02636dad330acf
2017-01-09 15:08:54 +01:00
Émilie Feral
3888802fa0 [apps] Avoid white vertical lines in integral curves due to pixel
rounding

Change-Id: I6ef439e46bf189f32c2458537f68472a4c3d3509
2017-01-09 15:08:54 +01:00
É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