1 | ASAP Plotting Requirements |
---|
2 | |
---|
3 | * should be based on matplotlib (installed in |
---|
4 | /nfs/DEBIANlocal - > /usr/local on linux) |
---|
5 | |
---|
6 | * should use the Tk frontend as others are not supported |
---|
7 | on our systems (yet) |
---|
8 | |
---|
9 | * be in interactive mode, with building of draw lists, so that it only |
---|
10 | refreshes once, at the end. This needs some tweaking of the code. |
---|
11 | (example attached - example_delayed_plot.py) |
---|
12 | |
---|
13 | * should take (x,y, mask) and transparently handle the mask. Masked data should be either blank or dashed |
---|
14 | |
---|
15 | * should take units/labels for axis labelling, and title string |
---|
16 | |
---|
17 | * should (auto)plot legends when overplotting |
---|
18 | |
---|
19 | * should auto-increment colours when overplotting |
---|
20 | |
---|
21 | * autoscaling when overplotting |
---|
22 | |
---|
23 | * should provide panel plotting e.g, cols=Polarisations, rows=integrations |
---|
24 | |
---|
25 | * should have position tracking (example attached - example_position_tracking.py) |
---|
26 | |
---|
27 | * should allow region selection with cursor for both zooming and masking |
---|
28 | |
---|
29 | * should expose general matplotlib functions for access at lower-level |
---|
30 | |
---|
31 | * should have an OO style interface |
---|
32 | |
---|
33 | Note: |
---|
34 | * matplotlib has to interfaces - a functional "matlab" interface and classes. |
---|
35 | * matplotlib currently only works using the "TkAgg" interface, this will be until a Debian stable update is released. |
---|
36 | "matplotlib.use('TkAgg')" should be on top of the plotting class. |
---|
37 | * zooming has to be hardcoded using Tk events and changed later when other widgetsets will be available. |
---|