Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | table | |
Tool | tableplot |
poption | Record of plot options | ||
Allowed: | Record | ||
Default: | nxpanels=1,nypanels=1,windowsize=6, aspectratio=0.8,fontsize=1.0 | ||
labels | List of strings : Title,Xlabel,Ylabel | ||
Allowed: | Vector of Strings | ||
Default: | no default | ||
datastr | List of TaQL strings : X,Y | ||
Allowed: | Vector of Strings | ||
Default: | no default | ||
iteraxes | List of strings : Iteration axes | ||
Allowed: | Vector of Strings | ||
Default: | no default |
# create a tableplot tool, set the list of MS tables to plot from, # and initialize a plot of Amplitude vs UV distance for # channel 1 and stokes 1, iterating over Antenna1, and creating # two plot panels per iteration page. tp := tableplot(); tp.settables(tabnames=['3c273.ms','3c48.ms']); plotopts.nxpanels := 1; plotopts.nypanels := 2; plotopts.windowsize := 6; plotopts.aspectratio := 1.2; plotopts.fontsize := 2.0; labels := ['Amplitude vs UVdist (iterating over Antenna1)','uvdist','amplitude']; xystr := ['SQRT(SUMSQUARE(UVW[1:2]))','AMPLITUDE(DATA[1,1])']; iteraxes := ['ANTENNA1']; tp.iterplotstart(poption=plotopts,labels=labels,datastr=xystr,iteraxes=iteraxes);To iterate over baseline and plot Amplitude vs time, for stokes 1, channel 1.
plotopts.nxpanels := 1; plotopts.nypanels := 4; labels := ['Amplitude vs UVdist (iterating over Baseline)','uvdist','amplitude']; xystr := ['SQRT(SUMSQUARE(UVW[1:2]))','AMPLITUDE(DATA[1,1])']; iteraxes := ['ANTENNA1','ANTENNA2']; tp.iterplotstart(poption=plotopts,labels=labels,datastr=xystr,iteraxes=iteraxes);