diff --git a/README.md b/README.md
index 751f108..88b900a 100644
--- a/README.md
+++ b/README.md
@@ -4,9 +4,11 @@
**AXGraphView** creates zoomable and scrollable graphs.
## Screenshot
-
-
+
+

+

+
## Preview (GIF)
@@ -18,8 +20,11 @@
- [Graph Axis](#graph-axis)
- [Domain of Graph](#domain-of-graph)
- [Custom Points](#custom-points)
+- [Transform](#transform)
+- [MultiFormula](#multiformula)
- [Custom Draw](#custom-draw)
- [Famous Graphs](#famous-graphs)
+- [Multi Formula Graphs](#multi-formula-graphs)
- [Author](#author)
- [License](#license)
@@ -28,7 +33,7 @@ AXGraphView is available in the JCenter, so you just need to add it as a depende
Gradle
```gradle
-implementation 'com.aghajari.graphview:AXGraphView:1.0.0'
+implementation 'com.aghajari.graphview:AXGraphView:1.0.2'
```
Maven
@@ -36,7 +41,7 @@ Maven
com.aghajari.graphview
AXGraphView
- 1.0.0
+ 1.0.2
pom
```
@@ -172,6 +177,42 @@ graphView.addFormula(new AXGraphFormula() { // Sin(x)
});
```
+## Transform
+You can move(x&y) or change scale(x&y) of the function on graph!
+
+```java
+formula.applyTransformMove(3f,2.5f);
+formula.applyTransformScale(1.5f,1.5f);
+```
+
+## MultiFormula
+You can also draw multi functions together.
+
+```java
+public class HeartGraphFormula extends AXGraphMultiFormula {
+
+@Override
+ public float[] multiFunction(float x) {
+ return new float[] {
+ function1(x),
+ function2(x)
+ };
+ }
+
+ public float function1(float x) {
+ return (float) Math.sqrt(1 - Math.pow(Math.abs(x) - 1,2));
+ }
+
+ public float function2(float x) {
+ return (float) (Math.acos(1 - Math.abs(x)) - Math.PI);
+ }
+}
+```
+
+Output :
+
+
+
## Custom Draw
You can draw custom shapes using AXGraphCanvas (by graph x,y) :
@@ -269,6 +310,17 @@ public class CircleGraphFormula extends PaintedGraphFormula {
|Cotangent|cot(x)|
|
|Tangent And Cotangent|tan(x) , cot(x)|
|
+## Multi Formula Graphs
+
+|Name|AXGraphView|
+| :----: | :----: |
+|Heart|
|
+|Captain America|
|
+|Superman|
|
+|Batman|
|
+|The Flash|
|
+|Wonder Woman|
|
+
## Author
- **Amir Hossein Aghajari**