Chapter 19 flot

0
2
4
6
8
10
12
-2.5
0.0
2.5
5.0
7.5
10.0
12.5
15.0

You don’t have to do much to get an attractive plot. Create a placeholder, make sure it has dimensions (so Flot knows at what size to draw the plot), then call the plot function with your data.

The axes are automatically scaled.