In this category:
Using graphs: (you need to know how to use matrices)
1. Define some matrices
- Matrices of values:
- line_1=matrix{1}{8}{5 50 87 55 6 4 -10 -22}
- line_2=matrix{1}{8}{54 4 7 85 60 50 40 10}
- line_3=matrix{1}{8}{-54 40 7 80 40 40 54 80}
- Matrix of axis x values
- Years = matrix{1}{8}{1995 1996 1997 1998 1999 2000 2001 2002}
2. Add graph shortcode
- Start graph with "[graph]"
- Add graph title: "title: GRAPH TITLE;"
- Add graph values: "values:line_1,line_2,line_3;" values separate with ","
- Add horizontal axis: "X:Axis_x;"
- Add vertical axis title: "Y:VERTICAL AXIS TITLE"
- End graph with "[/graph]"
<m>line_1=matrix{1}{8}{5 50 87 55 6 4 -10 -20};n;line_2=matrix{1}{8}{54 4 7 85 60 50 40 10};n;line_3=matrix{1}{8}{-54 40 7 80 40 40 54 80};n;Years=matrix{1}{8}{1995 1996 1997 1998 1999 2000 2001 2002}</m>
[graph]title: GRAPH TITLE;values:line_1,line_2,line_3;X:Years;Y:VERTICAL AXIS TITLE[/graph]
Result:![line_1=delim{[}{matrix{1}{8}{{5} {50} {87} {55} {6} {4} {-10} {-22}}}{]} line_1=delim{[}{matrix{1}{8}{{5} {50} {87} {55} {6} {4} {-10} {-22}}}{]}](http://www.wpmath.g6.cz/wp-content/plugins/wp-math/img/math_979.5_e039f22a35bf2bbe1696d795aaf7386d.png)
![line_2=delim{[}{matrix{1}{8}{{54} {4} {7} {85} {60} {50} {40} {10}}}{]} line_2=delim{[}{matrix{1}{8}{{54} {4} {7} {85} {60} {50} {40} {10}}}{]}](http://www.wpmath.g6.cz/wp-content/plugins/wp-math/img/math_979.5_ec2bb9a5ab4907c8654b1a59b79c73d8.png)
![line_3=delim{[}{matrix{1}{8}{{-54} {40} {7} {80} {40} {40} {54} {80}}}{]} line_3=delim{[}{matrix{1}{8}{{-54} {40} {7} {80} {40} {40} {54} {80}}}{]}](http://www.wpmath.g6.cz/wp-content/plugins/wp-math/img/math_979.5_282755a1f8b4a8f208a60c814c31acb4.png)
![Years=delim{[}{matrix{1}{8}{{1995} {1996} {1997} {1998} {1999} {2000} {2001} {2002}}}{]} Years=delim{[}{matrix{1}{8}{{1995} {1996} {1997} {1998} {1999} {2000} {2001} {2002}}}{]}](http://www.wpmath.g6.cz/wp-content/plugins/wp-math/img/math_986.5_20f985aef5a0a76463ac90e730ac052b.png)
