Khipu/Manual/DotKhipuFiles

    From KDE UserBase Wiki
    Revision as of 08:27, 3 December 2013 by MinSik CHO (talk | contribs) (Created page with "{{construction}} .khipu file usually looks like this, when you open with text editor (ex. gedit, nano) { “dimension” : 2, “image” : [a whole mess] , “name” : ...")
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

    Under Construction

    This is a new page, currently under construction!

    .khipu file usually looks like this, when you open with text editor (ex. gedit, nano)

    { “dimension” : 2, “image” :

    [a whole mess]

    , “name” : “Space 1”, “plots” : “[ { \”arg1max\” : \”5\”, \"arg1min\" : \"-5\", \"color\" : \"#00ff15\", \"expression\" : \"x->tan(x)\", \"name\" : \"PLOT NAME\" } ]" } ]

    The structure is pretty simple.

    “name” part is the part for the name of specific space. “dimension” defines what kind of space it is. If it is a 2D space, dimension is 2. If it is a 3D space, dimension is 4.

    Then, “plots” that part is for the things that are plotted in the graph. If there are multiple plots, it is listed in the same “plots” argument, using different brackets [].

    Inside plots, “arg1max” and “arg1min” define the interval the graph is defined. The “color” defines what color the graph is plotted. As you might have noticed, it is shown in simple HTML color code. “expression” defines what expression is being plotted. It uses grammar of 'analitza', which is our backend library. The syntax of this is quite intuitive: x->sin(x) for example corresponds y=sin(x) graph. It is essentially similar to modern calculators, or math languages.