Commit Graph

9351 Commits

Author SHA1 Message Date
Émilie Feral
beac710e0e [apps/graph] Do not restrain the cursor to the domain of definition in
the Graph
2019-09-02 16:55:40 +02:00
Émilie Feral
a7285ba1ca [apps/graph] Implement defaultCursorT for FunctionGraphController 2019-09-02 16:55:39 +02:00
Émilie Feral
f017ac014d [apps/graph] GraphController: when moving cursor vertically (on non
cartesian functions), going down increases the function index (to mimic
their vertical order in the function list)
2019-09-02 16:55:39 +02:00
Émilie Feral
6de497c2ed [apps/shared] Templatize FloatParameterController to handle float/double
parameters.

Fix bug: when entering "e^234" as a parameter of a model keeping floats,
the FloatParameterController would accept the number (because e^234 is
defined in double) and store an undefined value in the model (because
e^234 is undefined in float).
2019-09-02 16:55:39 +02:00
Émilie Feral
77304040ad [ion] Storage: fix crash due to wrong assertion
Python tries to import files without extension, it should not crash but
return an empty Record.
2019-09-02 16:55:39 +02:00
Léa Saviot
62793f41e0 [apps/curve_view] Fix drawing t limit
rho = 4 was not drawn properly (last quarted missing because t == tEnd)
2019-09-02 11:23:50 +02:00
Léa Saviot
c6fb5e5dfa [apps/graph] Pop twice after plot type change 2019-09-02 11:12:18 +02:00
Léa Saviot
9fe6034eb5 [apps/cartesian_function] Change function when switching plotType
Cartesian -> Parametric -> Polar
    3     ->  [[t][3]]  -> 3
2019-09-02 11:08:54 +02:00
Léa Saviot
c2c4157b73 [apps/toolbox] Fix probability toolbox i18n
var -> σ2
2019-08-30 17:53:57 +02:00
Émilie Feral
0f43a04225 [apps/graph] Implement move cursor vertically on graph with
parametric/polar curves
2019-08-30 17:15:12 +02:00
Émilie Feral
d5730e2702 [apps/shared] CartesianFunction: evaluating function out of its domain
returns NAN
2019-08-30 17:14:26 +02:00
Émilie Feral
2d5b60640d [apps/shared] Fix InteractiveCurveViewController::moveCursorVertically
for Sequence and Regression (add a TODO for Graph)
2019-08-30 17:14:26 +02:00
Léa Saviot
8b7e243d2d [apps/graph/list] Handle right event to open submenu 2019-08-30 16:05:29 +02:00
Léa Saviot
bd7860be93 [apps/expression_model] Use memoized isCircularlyDefined 2019-08-30 15:47:22 +02:00
Léa Saviot
2f59c90b8e [apps/expression_model] BuildExpressionFromText takes code point symbol
Not char symbol
2019-08-30 15:27:51 +02:00
Léa Saviot
29edb5f12e [poincare/parser] Fix theta parsing 2019-08-30 15:27:45 +02:00
Ruben Dashyan
70befe2b2e [poincare/parsing] Parse greek small letter theta 2019-08-30 15:15:37 +02:00
Léa Saviot
fa413edc61 [apps/graph] fix banner view for polar and parametric 2019-08-30 15:04:27 +02:00
Léa Saviot
2071a65d43 [apps] Code cleaning 2019-08-30 13:49:49 +02:00
Léa Saviot
66ef85239d [apps/graph] Step for polar and cartesian is definitionDomain/96.0 2019-08-30 11:44:53 +02:00
Léa Saviot
67e5114194 [apps/graph] Clip cursor navigation to definition domain 2019-08-30 11:37:31 +02:00
Léa Saviot
b3ecd16218 [apps/graph] Fix multiple curves drawing 2019-08-30 11:25:06 +02:00
Léa Saviot
c162a6ccc0 [apps/cartesian_function] Remove computeation done twice 2019-08-30 10:49:08 +02:00
Léa Saviot
5235f74852 [ion/storage] Memoize last retrieved record
Faster Graph navigation
2019-08-30 10:47:15 +02:00
Léa Saviot
da97ffc747 [apps] Fix wrong method called 2019-08-30 10:42:20 +02:00
Émilie Feral
99a6451074 [apps/graph/list] DomainParameterController: fix bug (use of out of
scope variable)
2019-08-30 10:40:58 +02:00
Léa Saviot
850170e33b [apps/shared] computeYRange clips tMin..tMax to xMin..xMax if possible 2019-08-30 10:18:39 +02:00
Émilie Feral
8c7819306a [apps/graph/list] Add a row to the ListParameterController to set the
function domain
2019-08-29 17:45:30 +02:00
Émilie Feral
c8928adbdb [apps/graph/list] Create a DomainParameterController to choose the
domain range
2019-08-29 17:44:46 +02:00
Émilie Feral
2d5931b080 [apps/shared] Inline and constify Interval helpers 2019-08-29 17:44:02 +02:00
Émilie Feral
8f8333c7ae [apps/graph] Add I18n messages regarding domain of functions 2019-08-29 17:43:08 +02:00
Émilie Feral
6013e6a937 [escher] Add a class MessageTableCellWithChevronAndBuffer 2019-08-29 15:54:52 +02:00
Émilie Feral
2827594616 [apps/shared] CartesianFunction: fix tmin and tmax default values
depending on the plot type
2019-08-29 15:54:52 +02:00
Émilie Feral
638b655c58 [escher] Add a comment to clean TableCell and margins handling 2019-08-29 15:54:52 +02:00
Émilie Feral
6c06e74dac [apps/graph/list] Add a margin after Curve Type name and change
I18n::Message names to avoid duplicates
2019-08-29 15:54:52 +02:00
Ruben Dashyan
98427cfbdd [apps/shared/curve_view_range] Refactor computeGridUnit 2019-08-29 15:13:41 +02:00
Ruben Dashyan
9ca0bd2359 [apps/shared/*_curve_view_range] Make the computeGridUnit method private 2019-08-29 15:13:41 +02:00
Ruben Dashyan
7e9762e933 [apps/shared/*_curve_view_range] Define and use defaultRangeWidthFor 2019-08-29 15:13:41 +02:00
Ruben Dashyan
766951b943 [apps/statistics/histogram_controller] Refactor initRangeParameters and initBarParameters 2019-08-29 15:13:41 +02:00
Ruben Dashyan
5dc429dae5 [apps/*curve_view_range] Use existing method 2019-08-29 15:13:41 +02:00
Ruben Dashyan
cf09961e16 [apps/sequence/graph/curve_view_range] Use existing method 2019-08-29 15:13:41 +02:00
Ruben Dashyan
554175d725 [apps/sequence/graph/curve_view_range] Do not set m_xMin|Max twice 2019-08-29 15:13:41 +02:00
Ruben Dashyan
fe95528f02 [apps/sequence/app] Clean remnant of reset method 2019-08-29 15:13:41 +02:00
Ruben Dashyan
5eae3563f5 [apps/regression/app] Remove redundant call
setDefault() will be called when the GraphView appears
2019-08-29 15:13:41 +02:00
Ruben Dashyan
8957cb9fea [apps/shared/curve_view_range] Define and use x|yCenter accessors 2019-08-29 15:13:41 +02:00
Ruben Dashyan
e99196b2ea [apps/interactive_curve_view_range] Clean yAuto 2019-08-29 15:13:41 +02:00
Ruben Dashyan
d39cf50c0f [apps/interactive_curve_view_range_delegate] Remove redundant checks 2019-08-29 15:13:41 +02:00
Ruben Dashyan
366daa9c88 [apps] Remove dummy checks in graph/graph_controller and shared/function_graph_controller 2019-08-29 15:13:40 +02:00
Ruben Dashyan
2bb1e9416e [apps] Uniformize IntervalParameterController labels 2019-08-29 13:51:49 +02:00
Ruben Dashyan
5effb5f6b2 [apps/*/values_controller] Inline intervalParameterController getter in header
and make it private
2019-08-29 13:51:49 +02:00