mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-28 20:12:41 +00:00
![Telumire](/assets/img/avatar_default.png)
* Added missing trigonometrics filter operators This PR adds support to trigonometry operators, allowing to create spider graphs and other geometric shapes with filters. * Adds the missing trigonometric filter operators This PR adds support to the missing trigonometric filter operators (cos, sin, tan, acos, asin, atan, atan2), allowing to create spider graphs, [pie charts, donut charts, polar charts](https://ffoodd.github.io/chaarts/pie-charts.html) and other geometric shapes with filters, which was previously not possible without add-ons. Example : `[[2]cos[]] = -0.4161468365471424` See also this radar chart made in wikitext by @saqimtiaz using the new trigonometric operators : https://saqimtiaz.github.io/sq-tw/temp/radar-chart-demo.html * Add documentation for the Trigonometric Operators Accompanies code changes #6127 * Fix formatting of atan2 Operator.tid Removed two empty lines at the end of the tiddler * Add examples for the trigonometric operators Accompanies code changes Jermolene#6127 * Fix version in the doc for trigonometric operators This PR fix the content of the documentation tiddlers regarding trigonometric operators (#6131). <<.from-version "5.1.20">> was changed to <<.from-version "5.1.21">> * Fix formatting of atan2 Operator.tid Removed two empty lines at the end of the tiddler
16 lines
756 B
Plaintext
16 lines
756 B
Plaintext
caption: atan2
|
|
created: 20211019222810994
|
|
modified: 20211021222853123
|
|
op-input: a [[selection of titles|Title Selection]] = coordinate Y (<<.place Y>>)
|
|
op-output: the angle in radians (in [ - π , π ] ) between the positive x-axis and the ray from (0,0) to the point (x,y)
|
|
op-parameter: coordinate X
|
|
op-parameter-name: X
|
|
op-purpose: returns the angle in the plane (in radians) between the positive x-axis and the ray from (0,0) to the point (x,y), for [<<.place Y>>]atan2[<<.place X>>]
|
|
tags: [[Filter Operators]] [[Mathematics Operators]] [[Binary Mathematics Operators]] [[Trigonometric Operators]]
|
|
title: atan2 Operator
|
|
type: text/vnd.tiddlywiki
|
|
|
|
<<.from-version "5.1.21">> See [[Mathematics Operators]] for an overview.
|
|
|
|
<<.operator-examples "atan2">>
|