# example of making a 2d pseudocolor and contour plot with VisIt CLI
OpenDatabase("wind_temp.silo")
AddPlot("Pseudocolor","temp")
AddPlot("Contour","temp")
# change Contour plot attributes
ContourAtts=ContourAttributes()
ContourAtts.colorType=ContourAtts.ColorBySingleColor
ContourAtts.singleColor=(0,0,0,255)
ContourAtts.legendFlag=0
SetPlotOptions(ContourAtts)
# change annotation attributes
AnotAtts=AnnotationAttributes()
AnotAtts.axes2D.xAxis.title.userTitle=1
AnotAtts.axes2D.xAxis.title.title="Longitude"
AnotAtts.axes2D.yAxis.title.userTitle=1
AnotAtts.axes2D.yAxis.title.title="Latitude"
SetAnnotationAttributes(AnotAtts)
InvertBackgroundColor()
DrawPlots()
| cli.src last modified Apr 20, 2011 | Introduction | Table of Contents (frame/no frame) |
Printable (single file) |
© Dartmouth College |