-
Notifications
You must be signed in to change notification settings - Fork 8
Gallery
Martino Ferrari edited this page Jan 16, 2018
·
1 revision
Few examples taken from the pgfplots gallery and converted in charter.
x-axis
label Cost
y-axis
label Error
plot
color red
marker x
x 2 3 4 5 6 7 8 9
y -2.8559703 -3.5301677 -4.3050655 -5.1413136 -6.0322865 -6.9675052 -7.9377747
x-axis
label x
y-axis
label f(x) = x^2 -x +4
plot:
x range: -6 6 20
y math: x^2-x+4
marker o
x-axis
label x
y-axis
label sin(x)
plot:
x range: -6 6 30
y math: sin(x)
marker o
plot:
x range: -5.5 5.5 20
y math: -x^5-242
marker o
label model
plot:
x -4.77778 -3.55556 -2.33333 -1.11111 0.11111 1.33333 2.55556 3.77778 5.00000
y 2027.60977 347.84069 22.58953 -493.50066 46.66082 -205.56286 -341.40638 -1169.24780 -3269.56775
marker s
label estimate
x-axis:
mode log
label Cost
y-axis:
mode log
label Gain
plot:
marker o
x 10 20 40 80 160 320 640
y 100 150 225 340 510 765 1150
x-axis:
label Index
y-axis:
label Value
mode log
plot:
color #22f
x 1 2 3 4 5 6 7
y 8 16 32 64 128 256 512
marker x
x-axis:
mode log
label Degrees of freedom
y-axis:
mode log
label L_2 Error
plot:
label d=2
x 5 17 49 129 321 769 1793 4097 9217
y 8.312e-02 2.547e-2 7.407e-3 2.102e-3 5.874e-4 1.623e-4 4.442e-5 1.207e-5 3.261e-6
marker s
plot:
label d=3
y 8.472e-2 3.044e-2 1.022e-2 3.303e-3 1.039e-3 3.196e-4 9.658e-5 2.873e-5 8.437e-6
x 7 31 111 351 1023 2815 7423 18943 47103
marker o
plot:
label d=4
marker x
y 7.881e-2 3.243e-2 1.232e-2 4.454e-3 1.551e-3 5.236e-4 1.723e-4 5.545e-5 1.751e-5
x 9 49 209 769 2561 7937 23297 65537 178177
plot:
label d=5
marker +
y 6.887e-2 3.177e-2 1.341e-2 5.334e-3 2.027e-3 7.415e-4 2.628e-4 9.063e-5 3.053e-5
x 11 71 351 1471 5503 18943 61183 187903 553983