AIDA for Power Users
Introduction
This covers advanced topics in JAS3 and AIDA. The examples in this section are mostly written in the Python language. It's syntax is simpler and less strict than Java, yet very clear. If you do not feel comfortable learning yet another language, please visit the exellent, if slightly dated AIDA documentation. However, please feel encouraged to take a look at the examples. They should all run out of the box (if not, please don't feel discouraged – file a bug report), so that you should still be able to get something out of them.
For this section, you will want to take a look at
PAIDA and AIDA API
Secondary Y Axis
Anchor |
---|
| Secondary Y Axis |
---|
| Secondary Y Axis |
---|
|
Comparing two datasets in the same plot is a very convenient feature in AIDA. However, those two datasets may not always have the same scale, or even the same units. JAS3 lets you add a secondary Y Axis, which can be scaled independently of the primary one. Just select the Data tab in the Plot Properties
dialog. For each data set listed on the left-hand side, you can select which axis to associate it with by selecting either Y0 for the primary Y Axis on the left-hand side of the plot, or Y1 for the secondary Y Axis on the right-hand side of the plot. The properties of each axis, like range and label can be changed in the Y Axis tab.
Changing Layout/Style/Properties with a Script
...
Tuples
Flat Tuples
Nested Tuples
Code Block |
---|
## AIDATutorial.py
# this is a comment
# this is a function
def someExternalFunction(y, x):
return y+x[0]
|