newMacro_(newScalarFromDataSource,filename,field,name)
newScalar()
checkReadFromDataSource()
setDataSource($filename)
setDataSourceField($field)
if($name!=)
uncheckAuto()
setName($name)
fi()
endEdit()
endMacro()

newMacro_(newScalarFromDataVector,filename,field,frame,name)
newScalar()
checkReadFromDataVector()
setDataSource($filename)
setDataVectorField($filename)
setFrame($frame)
if($frame==-1)
checkLastFrame()
fi()
if($name!=)
checkGenerate()
setName($name)
checkReadFromDataVector()
uncheckAuto()
setName($name)
fi()
endEdit()
endMacro()

newMacro_(newScalarGenerated,val,name)
newScalar()
checkGenerate()
setValue($val)
if($name!=)
uncheckAuto()
setName($name)
fi()
endEdit()
endMacro()

newMacro_(newVectorFromDataSource,filename,field,changeDetection,timeInterval,dontUpdate,start,range,skip,boxcarFirst,name)
newVector()
checkReadFromDataSource()
setDataSource($filename)
setFieldOrColumn($field)
if($changeDetection==true)
setIndexOfUpdateType(1)
fi()
if($timeInterval==true)
setIndexOfUpdateType(0)
fi()
if($dontUpdate==true)
setIndexOfUpdateType(2)
fi()
setStart($start)
if($start!=-1)
uncheckCountFromEnd()
setStart($start)
fi()
if($start==-1)
checkCountFromEnd()
fi()
if($range==-1)
checkReadToEnd()
fi()
if($range!=-1)
setRange($range)
fi()
if($skip!=-1)
if($skip!=)
checkRead1SamplePer()
setRead1SamplePer($skip)
if($boxcarFirst==true)
checkBoxcarFilterFirst()
fi()
fi()
fi()
if($name!=)
uncheckAuto()
setName($name)
fi()
endEdit()
endMacro()

newMacro_(newVectorGenerate,from,to,samples,name)
newVector()
checkGenerate()
setFrom($from)
setTo($to)
setNumberOfSamples($samples)
if($name!=)
uncheckAuto()
setName($name)
fi()
endEdit()
endMacro()

newMacro_(newMatrix,filename,field,xstart,ystart,xnframe,ynframe,skip,boxcarFirst,xmin,ymin,xstep,ystep,name)
newMatrix()
setDataSource($filename)
setFieldOrColumn($field)
if($xstart==-1)
checkCountXFromEnd()
fi()
if($xstart!=-1)
uncheckCountXFromEnd()
setXStartingFrame($xstart)
fi()
if($ystart==-1)
checkCountYFromEnd()
fi()
if($ystart!=-1)
uncheckCountYFromEnd()
setYStartingFrame($ystart)
fi()
if($xnframe==-1)
checkReadXToEnd()
fi()
if($xnframe!=-1)
uncheckReadXToEnd()
setXNumberOfFrames($xnframe)
fi()
if($ynframe==-1)
checkReadYToEnd()
fi()
if($ynframe!=-1)
uncheckReadYToEnd()
setYNumberOfFrames($ynframe)
fi()
if($skip!=false)
if($skip!=)
checkRead1SamplePer()
setRead1SamplePer($skip)
if($boxcarFirst==true)
checkBoxcarFilterFirst()
fi()
if($boxcarFirst!=true)
uncheckBoxcarFilterFirst()
fi()
fi()
fi()
if($skip==false)
uncheckRead1SamplePer()
fi()
if($skip==)
uncheckRead1SamplePer()
fi()
setXMinimum($xmin)
setYMinimum(
setXStepSize($xstep)
setYStepSize($ystep)
if($name!=)
uncheckAuto()
setName($name)
uncheckAuto()
fi()
$ystep
setYStepSize($ystep)
$ymin
setYMinimum($ymin)
setYMinimum($ymin)
endEdit()
endMacro()

newMacro_(newStringGenerated,value,name)
newStringGen()
setValue($value)
if($name!=)
setName($name)
fi()
if($name==)
setName()
fi()
endEdit()
endMacro()

newMacro_(newStringFromDataSource,filename,field,name)
newString()
checkReadFromDataSource()
setFileName($filename)
setField($field)
if($name!=)
uncheckAuto()
setName($name)
fi()
endEdit()
endMacro()

newMacro_(newCurve,xaxis,yaxis,plusxerrorbar,plusyerrorbar,minusxerrorbar,minusyerrorbar,usexplusforminus,useyplusforminus)
newCurve()
setX-axisVector($xaxis)
setY-axisVector($yaxis)
if($plusxerrorbar!=)
set+xErrorBar($plusxerrorbar)
fi()
if($plusyerrorbar!=)
set+yErrorBar($plusyerrorbar)
fi()
if($minusxerrorbar!=)
set-xErrorBar($minusxerrorbar)
fi()
if($minusyerrorbar!=)
set-yErrorBar($minusyerrorbar)
fi()
if($usexplusforminus==true)
checkUse+xErrorBarFor-x()
fi()
if($usexplusforminus==false)
uncheckUse+xErrorBarFor-x()
fi()
if($useyplusforminus==true)
checkUse+yErrorBarFor-y()
fi()
if($useyplusforminus==false)
uncheckUse+yErrorBarFor-y()
fi()
endMacro()

newMacro_(newEquation,equation,xvector,interploate)
newEquation()
setEquation($equation)
setXVector($xvector)
if($interploate==true)
checkInterpolateToHighestResolutionVector()
fi()
if($interpolate==false)
uncheckInterpolateToHighestResolutionVector()
fi()
if($interploate==false)
uncheckInterpolateToHighestResolutionVector()
fi()
checkDoNotPlaceInAnyPlot()
endEdit()
endMacro()


newMacro_(setCurveParameters,curvecolor,curvelinetype,curveweight,uselines,usepoints,pointtype,pointdensity,usehead,headtype,headcolor,usebargraph,bargraphfill,ignoreinauto,donotplaceinanyplot,placeinexistingplot,placeinnewplot,placeinnewtab,scalefonts,autolayout,customgridcolumns,protectexistinglayout,name)
setCurveColor($curvecolor)
setIndexOfLineStyle($curvelinetype)
setWeight($curveweight)
if($uselines==true)
checkLines()
fi()
if($uselines==false)
uncheckLines()
fi()
if($usepoints==true)
checkPoints()
setIndexOfPointsType($pointtype)
setIndexOfDensity($pointdensity)
fi()
if($usepoints==false)
uncheckPoints()
fi()
if($usehead==true)
setIndexOfHeadType($headtype)
checkHead()
setIndexOfHeadType($headtype)
setCurveHeadColor($headcolor)
fi()
if($usehead==false)
uncheckHead()
fi()
if($usebargraph)
checkBargraph()
setCurveBarFill($bargraphfill)
fi()
if($usebargraph==false)
uncheckBargraph()
fi()
if($ignoreinauto==true)
checkIgnoreInAutomaticAxesRangeCalculations()
fi()
if($ignoreinauto==false)
uncheckIgnoreInAutomaticAxesRangeCalculations()
fi()
if($donotplaceinanyplot==true)
checkDoNotPlaceInAnyPlot()
fi()
if($placeinexistingplot!=)
checkPlaceInExistingPlot()
setPlaceInExistingPlot($placeinexistingplot)
fi()
if($placeinnewplot==true)
checkPlaceInNewPlot()
if($placeinnewtab==true)
checkInNewTab()
fi()
if($placeinnewtab==false)
uncheckInNewTab()
fi()
if($autolayout==true)
checkAutomaticLayout()
fi()
if($customgridcolumns==true)
fi()
if($customgridcolumns!=false)
checkCustomGrid()
setColumns($customgridcolumns)
fi()
if($customgridcolumns==true)
fi()
if($protectexistinglayout==true)
checkProtectExistingLayout()
fi()
fi()
if($name!=)
uncheckAuto()
setName($name)
fi()
setCurveColor($curvecolor)
setIndexOfLineStyle($curvelinetype)
setWeight($curveweight)
if($uselines==true)
checkLines()
fi()
if($uselines==false)
uncheckLines()
fi()
if($usepoints==true)
checkPoints()
setIndexOfPointsType($pointtype)
setIndexOfDensity($pointdensity)
fi()
if($usepoints==false)
uncheckPoints()
fi()
if($usehead==true)
setIndexOfHeadType($headtype)
checkHead()
setIndexOfHeadType($headtype)
setCurveHeadColor($headcolor)
fi()
if($usehead==false)
uncheckHead()
fi()
if($usebargraph)
checkBargraph()
setCurveBarFill($bargraphfill)
fi()
if($usebargraph==false)
uncheckBargraph()
fi()
if($ignoreinauto==true)
checkIgnoreInAutomaticAxesRangeCalculations()
fi()
if($ignoreinauto==false)
uncheckIgnoreInAutomaticAxesRangeCalculations()
fi()
if($donotplaceinanyplot==true)
checkDoNotPlaceInAnyPlot()
fi()
if($placeinexistingplot!=)
checkPlaceInExistingPlot()
setPlaceInExistingPlot($placeinexistingplot)
fi()
if($placeinnewplot==true)
checkPlaceInNewPlot()
if($placeinnewtab==true)
checkInNewTab()
fi()
if($placeinnewtab==false)
uncheckInNewTab()
fi()
if($autolayout==true)
checkAutomaticLayout()
fi()
if($customgridcolumns==true)
fi()
if($customgridcolumns!=false)
checkCustomGrid()
setColumns($customgridcolumns)
fi()
if($customgridcolumns==true)
fi()
if($protectexistinglayout==true)
checkProtectExistingLayout()
fi()
fi()
if($name!=)
uncheckAuto()
setName($name)
fi()
endEdit()
endMacro()

newMacro_(newImageFromColor,matrix,palette,rtAutoThreshold,lower,upper,maxmin,smart,percentile,donotplaceinanyplot,placeinexistingplot,placeinnewplot,placeinnewtab,scalefonts,autolayout,customgridcolumns,protectexistinglayout,name)
newImage()
checkColorMap()
setMatrix($matrix)
setColorPalette($palette)
setIndexOfColorPalette($palette)
if($rtAutoThreshold==true)
checkReal-timeAutoThreshold()
fi()
if($rtAutoThreshold==false)
uncheckReal-timeAutoThreshold()
setThreshold-Lower($lower)
setUpper($upper)
if($maxmin==true)
pressMax/min()
fi()
if($smart==true)
pressSmart()
fi()
if($percentile!=)
setPercentile($percentile)
fi()
fi()
if($donotplaceinanyplot==true)
checkDoNotPlaceInAnyPlot()
fi()
if($placeinexistingplot!=)
checkPlaceInExistingPlot()
setPlaceInExistingPlot($placeinexistingplot)
fi()
if($placeinnewplot==true)
checkPlaceInNewPlot()
if($placeinnewtab==true)
checkInNewTab()
fi()
if($placeinnewtab==false)
uncheckInNewTab()
fi()
if($autolayout==true)
checkAutomaticLayout()
fi()
if($customgridcolumns!=false)
checkCustomGrid()
setColumns($customgridcolumns)
fi()
if($customgridcolumns==true)
fi()
if($protectexistinglayout==true)
checkProtectExistingLayout()
fi()
fi()
if($name!=)
uncheckAuto()
setName($name)
fi()
endEdit()
endMacro()

newMacro_(newImageFromContourMap,matrix,levels,color,weight,variable,donotplaceinanyplot,placeinexistingplot,placeinnewplot,placeinnewtab,scalefonts,autolayout,customgridcolumns,protectexistinglayout,name)
newImage()
setMatrix($matrix)
setNumberOfContourLevels($levels)
checkContourMap()
setNumberOfContourLevels($levels)
setImageContourColor($color)
setWeight($weight)
if($variable==true)
checkUseVariableLineWeight()
fi()
if($variable==false)
uncheckUseVariableLineWeight()
fi()
if($donotplaceinanyplot==true)
checkDoNotPlaceInAnyPlot()
fi()
if($placeinexistingplot!=)
checkPlaceInExistingPlot()
setPlaceInExistingPlot($placeinexistingplot)
fi()
if($placeinnewplot==true)
checkPlaceInNewPlot()
if($placeinnewtab==true)
checkInNewTab()
fi()
if($placeinnewtab==false)
uncheckInNewTab()
fi()
if($autolayout==true)
checkAutomaticLayout()
fi()
if($customgridcolumns!=false)
checkCustomGrid()
setColumns($customgridcolumns)
fi()
if($customgridcolumns==true)
fi()
if($protectexistinglayout==true)
checkProtectExistingLayout()
fi()
fi()
if($name!=)
uncheckAuto()
setName($name)
fi()
endEdit()
endMacro()

newMacro_(newImageFromColorAndContourMap,matrix,palette,rtAutoThreshold,lower,upper,maxmin,smart,percentile,levels,color,weight,variable,donotplaceinanyplot,placeinexistingplot,placeinnewplot,placeinnewtab,scalefonts,autolayout,customgridcolumns,protectexistinglayout,name)
newImage()
checkColorMapAndContourMap()
setMatrix($matrix)
setColorPalette($palette)
setIndexOfColorPalette($palette)
if($rtAutoThreshold==true)
checkReal-timeAutoThreshold()
fi()
if($rtAutoThreshold==false)
uncheckReal-timeAutoThreshold()
setThreshold-Lower($lower)
setUpper($upper)
if($maxmin==true)
pressMax/min()
fi()
if($smart==true)
pressSmart()
fi()
if($percentile!=)
setPercentile($percentile)
fi()
fi()
setNumberOfContourLevels($levels)
setImageContourColor($color)
setWeight($weight)
if($variable==true)
checkUseVariableLineWeight()
fi()
if($variable==false)
uncheckUseVariableLineWeight()
fi()
if($donotplaceinanyplot==true)
checkDoNotPlaceInAnyPlot()
fi()
if($placeinexistingplot!=)
checkPlaceInExistingPlot()
setPlaceInExistingPlot($placeinexistingplot)
fi()
if($placeinnewplot==true)
checkPlaceInNewPlot()
if($placeinnewtab==true)
checkInNewTab()
fi()
if($placeinnewtab==false)
uncheckInNewTab()
fi()
if($autolayout==true)
checkAutomaticLayout()
fi()
if($customgridcolumns!=false)
checkCustomGrid()
setColumns($customgridcolumns)
fi()
if($customgridcolumns==true)
fi()
if($protectexistinglayout==true)
checkProtectExistingLayout()
fi()
fi()
if($name!=)
uncheckAuto()
setName($name)
fi()
endEdit()
endMacro()

newMacro_(newSpectrum,vector,removeMean,apodize,function,sigma,interleaved,length,interpolate,rate,vectorUnits,rateUnits,outputType)
newPSD()
setDataVector($vector)
if($removeMean==true)
checkRemoveMean()
fi()
if($removeMean==false)
uncheckRemoveMean()
fi()
if($apodize==true)
checkApodize()
fi()
if($apodize==false)
uncheckApodize()
fi()
setIndexOfFunction($function)
setSigma($sigma)
if($interleaved==true)
checkInterleavedAverage()
fi()
if($interleaved==false)
uncheckInterleavedAverage()
fi()
setFftLength2^($length)
if($interpolate)
checkInterpolateOverHoles()
fi()
if($interpolate==false)
uncheckInterpolateOverHoles()
fi()
setSampleRate($rate)
setVectorUnits($vectorUnits)
setRateUnits($rateUnits)
setIndexOfOutput($outputType)
checkDoNotPlaceInAnyPlot()
endEdit()
endMacro()

newMacro_(newBox,fixAspect,posX,posY,sizeX,sizeY,rot,fillColor,fillStyle,strokeStyle,strokeWidth,strokeBrushColor,strokeBrushStyle,strokeJoinStyle,strokeCapStyle,hmargin,vmargin,hspace,vspace)
newBox()
if($fixAspect==true)
checkFixAspectRatio()
fi()
if($fixAspect==false)
uncheckFixAspectRatio()
fi()
setPosX($posX)
setPosY($posY)
setGeoX($sizeX)
if(fixAspectRatioIsChecked()==false)
setGeoY($sizeY)
fi()
setRotation($rot)
setFillColor($fillColor)
setIndexOfFillStyle($fillStyle)
setIndexOfStrokeStyle($strokeStyle)
setStrokeWidth($strokeWidth)
setStrokeBrushColor($strokeBrushColor)
setIndexOfStrokeBrushStyle($strokeBrushStyle)
setIndexOfStrokeJoinStyle($strokeJoinStyle)
setIndexOfStrokeCapStyle($strokeCapStyle)
setLayoutHorizontalMargin($hmargin)
setLayoutVerticalMargin($vmargin)
setLayoutHorizontalSpacing($hspace)
setLayoutVerticalSpacing($vspace)
endEdit()
endMacro()

newMacro_(newCircle,posX,posY,size,rot,fillColor,fillStyle,strokeStyle,strokeWidth,strokeBrushColor,strokeBrushStyle,strokeJoinStyle,strokeCapStyle,hmargin,vmargin,hspace,vspace)
newCircle()
setPosX($posX)
setPosY($posY)
setGeoX($size)
setRotation($rot)
setFillColor($fillColor)
setIndexOfFillStyle($fillStyle)
setIndexOfStrokeStyle($strokeStyle)
setStrokeWidth($strokeWidth)
setStrokeBrushColor($strokeBrushColor)
setIndexOfStrokeBrushStyle($strokeBrushStyle)
setIndexOfStrokeJoinStyle($strokeJoinStyle)
setIndexOfStrokeCapStyle($strokeCapStyle)
setLayoutHorizontalMargin($hmargin)
setLayoutVerticalMargin($vmargin)
setLayoutHorizontalSpacing($hspace)
setLayoutVerticalSpacing($vspace)
endEdit()
endMacro()

newMacro_(newEllipse,fixAspect,posX,posY,sizeX,sizeY,rot,fillColor,fillStyle,strokeStyle,strokeWidth,strokeBrushColor,strokeBrushStyle,strokeJoinStyle,strokeCapStyle,hmargin,vmargin,hspace,vspace)
newEllipse()
if($fixAspect==true)
checkFixAspectRatio()
fi()
if($fixAspect==false)
uncheckFixAspectRatio()
fi()
setPosX($posX)
setPosY($posY)
setGeoX($sizeX)
if(fixAspectRatioIsChecked()==false)
setGeoY($sizeY)
fi()
setRotation($rot)
setFillColor($fillColor)
setIndexOfFillStyle($fillStyle)
setIndexOfStrokeStyle($strokeStyle)
setStrokeWidth($strokeWidth)
setStrokeBrushColor($strokeBrushColor)
setIndexOfStrokeBrushStyle($strokeBrushStyle)
setIndexOfStrokeJoinStyle($strokeJoinStyle)
setIndexOfStrokeCapStyle($strokeCapStyle)
setLayoutHorizontalMargin($hmargin)
setLayoutVerticalMargin($vmargin)
setLayoutHorizontalSpacing($hspace)
setLayoutVerticalSpacing($vspace)
endEdit()
endMacro()

newMacro_(newLine,fixAspect,posX,posY,sizeX,sizeY,rot,strokeStyle,strokeWidth,strokeBrushColor,strokeBrushStyle,strokeJoinStyle,strokeCapStyle,hmargin,vmargin,hspace,vspace)
newLine()
if($fixAspect==true)
checkFixAspectRatio()
fi()
if($fixAspect==false)
uncheckFixAspectRatio()
fi()
setPosX($posX)
setPosY($posY)
setGeoX($sizeX)
if(fixAspectRatioIsChecked()==false)
setGeoY($sizeY)
fi()
setRotation($rot)
setIndexOfStrokeStyle($strokeStyle)
setStrokeWidth($strokeWidth)
setStrokeBrushColor($strokeBrushColor)
setIndexOfStrokeBrushStyle($strokeBrushStyle)
setIndexOfStrokeJoinStyle($strokeJoinStyle)
setIndexOfStrokeCapStyle($strokeCapStyle)
setLayoutHorizontalMargin($hmargin)
setLayoutVerticalMargin($vmargin)
setLayoutHorizontalSpacing($hspace)
setLayoutVerticalSpacing($vspace)
endEdit()
endMacro()

newMacro_(newArrow,arrowAtStart,startScale,arrowAtEnd,endScale,fixAspect,posX,posY,sizeX,sizeY,rot,strokeStyle,strokeWidth,strokeBrushColor,strokeBrushStyle,strokeJoinStyle,strokeCapStyle,hmargin,vmargin,hspace,vspace)
newArrow()
if($arrowAtStart==true)
checkArrowAtStart()
setStartArrowScale($startScale)
fi()
if($arrowAtStart==false)
uncheckArrowAtStart()
fi()
if($arrowAtEnd==true)
checkArrowAtEnd()
setStartArrowScale($startEnd)
fi()
if($arrowAtEnd==false)
uncheckArrowAtEnd()
fi()
if($fixAspect==true)
checkFixAspectRatio()
fi()
if($fixAspect==false)
uncheckFixAspectRatio()
fi()
setPosX($posX)
setPosY($posY)
setGeoX($sizeX)
if(fixAspectRatioIsChecked()==false)
setGeoY($sizeY)
fi()
setRotation($rot)
setIndexOfStrokeStyle($strokeStyle)
setStrokeWidth($strokeWidth)
setStrokeBrushColor($strokeBrushColor)
setIndexOfStrokeBrushStyle($strokeBrushStyle)
setIndexOfStrokeJoinStyle($strokeJoinStyle)
setIndexOfStrokeCapStyle($strokeCapStyle)
setLayoutHorizontalMargin($hmargin)
setLayoutVerticalMargin($vmargin)
setLayoutHorizontalSpacing($hspace)
setLayoutVerticalSpacing($vspace)
endEdit()
endMacro()

newMacro_(newPicture,filename,posX,posY,size,rot,hmargin,vmargin,hspace,vspace)
newPicture($filename)
setPosX($posX)
setPosY($posY)
setGeoX($size)
setRotation($rot)
setLayoutHorizontalMargin($hmargin)
setLayoutVerticalMargin($vmargin)
setLayoutHorizontalSpacing($hspace)
setLayoutVerticalSpacing($vspace)
endEdit()
endMacro()

newMacro_(newSVG,filename,posX,posY,size,rot,hmargin,vmargin,hspace,vspace)
newSvgItem($filename)
setPosX($posX)
setPosY($posY)
setGeoX($size)
setRotation($rot)
setLayoutHorizontalMargin($hmargin)
setLayoutVerticalMargin($vmargin)
setLayoutHorizontalSpacing($hspace)
setLayoutVerticalSpacing($vspace)
endEdit()
endMacro()

newMacro_(newHistogram,vector,rtAutoBin,binsFrom,binsTo,nbins,yaxisNormNumInBin,yaxisNormFracInBin,yaxisNorm%InBin,yaxisNormPeakAt1)
newHistogram()
setDataVector($vector)
if($rtAutoBin==true)
checkReal-timeAutoBin()
fi()
if($rtAutoBin==false)
uncheckReal-timeAutoBin()
fi()
setBinsFrom($binsFrom)
setTo($binsTo)
setNumBins($nbins)
if($yaxisNormNumInBin)
checkNumberInBin()
fi()
if($yaxisNormFracInBin)
checkFractionInBin()
fi()
if($yaxisNorm%InBin)
checkPercentInBin()
fi()
if($yaxisNormPeakAt1)
checkPeakBin=1.0()
fi()
checkDoNotPlaceInAnyPlot()
endEdit()
endMacro()

newMacro_(newSpectrogram,vector,windowSize,palette,removeMean,apodize,function,sigma,interleaved,length,interpolate,rate,vectorUnits,rateUnits,outputType,donotplaceinanyplot,placeinexistingplot,placeinnewplot,placeinnewtab,scalefonts,autolayout,customgridcolumns,protectexistinglayout,name)
newCSD()
setDataVector($vector)
setWindowSize($windowSize)
setIndexOfColorPalette($palette)
if($removeMean==true)
checkRemoveMean()
fi()
if($removeMean==false)
uncheckRemoveMean()
fi()
if($apodize==true)
checkApodize()
fi()
if($apodize==false)
uncheckApodize()
fi()
setIndexOfFunction($function)
setSigma($sigma)
if($interleaved==true)
checkInterleavedAverage()
fi()
if($interleaved==false)
uncheckInterleavedAverage()
fi()
setFftLength2^($length)
if($interpolate)
checkInterpolateOverHoles()
fi()
if($interpolate==false)
uncheckInterpolateOverHoles()
fi()
setSampleRate($rate)
setVectorUnits($vectorUnits)
setRateUnits($rateUnits)
setIndexOfOutput($outputType)
if($donotplaceinanyplot==true)
checkDoNotPlaceInAnyPlot()
fi()
if($placeinexistingplot!=)
checkPlaceInExistingPlot()
setPlaceInExistingPlot($placeinexistingplot)
fi()
if($placeinnewplot==true)
checkPlaceInNewPlot()
if($placeinnewtab==true)
checkInNewTab()
fi()
if($placeinnewtab==false)
uncheckInNewTab()
fi()
if($autolayout==true)
checkAutomaticLayout()
fi()
if($customgridcolumns==true)
fi()
if($customgridcolumns!=false)
checkCustomGrid()
setColumns($customgridcolumns)
fi()
if($customgridcolumns==true)
fi()
if($protectexistinglayout==true)
checkProtectExistingLayout()
fi()
fi()
if($name!=)
uncheckAuto()
setName($name)
fi()
endEdit()
endMacro()

newMacro_(setPicture,name,pic)
beginEdit($name)
setPicture($pic)
endEdit()
endMacro()

newMacro_(setNameOfPlot,plot,name)
beginEdit($plot)
setName($name)
endEdit()
endMacro()

newMacro_(setName,obj,name)
beginEdit($obj)
if($name!=)
uncheckAuto()
setName($name)
fi()
if($name==)
checkAuto()
fi()
endEdit()
endMacro()

