Skip to content
Newer
Older
100644 63 lines (43 sloc) 1.6 KB
9cf29d1 @psyeugenic Make README markdown flavored
authored Sep 8, 2011
1 Eplot
2 =====
3
4 Eplot is a small graph drawing tool that can be used from command prompt via the
5 escript eplot or it could be used from erlang code using egd_graph module.
6
7 Dependencies:
8 -------------
9 - Erlang/OTP, preferable R13B but earlier should work.
10
11 - wx, if you plan to view graph immediately Erlang should be compiled
12 with wx support enabled. Otherwise only file output can be used.
13
14
15 Eplot usage:
16 ------------
17 eplot [options] file1 file2 ...
18
19 where options are:
20
21 -o Filename, defaults to png image-format,
22 -type Type, bitmap_raw | png | eps,
23 -width W, Width, in pixels, of output,
24 -height H, Height, in pixels, of output,
25 -render_engine RE, alpha | opaque, type of render engine,
26 -plot Plot, plot2d | bar2d, plot type
27 -x_label Label, X-axis label,
28 -y_label Label, Y-axis label,
29 -x_ticksize TS, X-axis ticksize,
30 -y_ticksize TS, y-axis ticksize,
31
32 example:
33
34 $> bin/eplot -o test1.png example/data1.dat example/data2.dat
35
36
37 egd_chart.erl usage:
38 --------------------
39 See [source file](https://github.com/psyeugenic/eplot/blob/master/src/egd_chart.erl) for info.
40
41
42
43 Eplot ToDo:
44 -----------
45 - document stuff
46 - different symbols for different line entries
47 - support multiple font and sizes (egd dependent)
48 - line thickness (egd dependent)
49 - additional graph types
50
51 EGD ToDo:
52 ---------
53 eplot uses EGD as an backend to draw graphs. EGD lacks some features which
54 should be implemented.
55
56 - polygon triangulation, filled triangles can be drawn fine but not
57 polygons.
58 - Truetype support
59 - Line thickness/stroke size
60
61
62
Something went wrong with that request. Please try again.