Examples
plotms is most commonly invoked as a task with parameters:
plotms(vis='ngc5921.ms', xaxis='channel', yaxis='amp', ydatacolumn='corrected', plotfile='ngc5921.jpg')
To create this plot in the tool interface:
pm.setPlotMSFilename('ngc5921.ms')
pm.setPlotAxes(xAxis='channel', yAxis='amp', yDataColumn='corrected')
pm.setPlotAxes(xAxis='channel', yAxis='amp', yDataColumn='corrected')
pm.save('ngc5921.jpg')
Each tool function call will launch or update the plotms GUI! Be careful with large datasets!