# $Revision$ on $Date$
# The above revision line needs to be the first line for ttkrf files
# Copyright (c) 2006 Ansys Inc

dataEntryDialog onedLineDEZ "Create A Line"
   textEntry onedLineName "Line's Name" name TEXT
   textEntry onedLineNum "Num of Points" npts NUM
   coordsEntry onedLineP0  "Starting Point" p0
   coordsEntry onedLineP1  "End Point" p1
dataEntryDialog END

dataEntryDialog onedWinDEZ "Create 1D Window"
exclusiveGroup onedWinEXG "XY / Polar" "Window" 4 ICON
   exclusiveGroupItem onedWinXY "Create new XY window" PP_PlotXY35.gif
      textEntry onedWinXYTitle "Window title" onedXYWinTitle TEXT
   exclusiveGroupItem END #0
   exclusiveGroupItem onedWinPolar "Create new Polar window" PP_PlotPolar35.gif
      textEntry onedWinPolarTitle "Window title" onedPolarWinTitle TEXT
   exclusiveGroupItem END #1
exclusiveGroup END   
dataEntryDialog END

dataEntryDialog onedAxisADEZ "Modify Polar Arc"
  frame onedAxisARg "Range"
     checkItem onedAxisARgFit "Fit Data" oned_data:xfit "aie_modify_axis fit_plots p {}"
     textEntry onedAxisARgS "From angle" oned_data:ang_0 NUM
     textEntry onedAxisARgE "To angle"   oned_data:ang_1 NUM
     textEntry onedAxisARgO "Rad axis at" oned_data:ang_ax NUM
  frame END
  frame onedAxisALn "Scalar Line"
     textEntry onedAxisALnWd "Line width" oned_data:plinewidth NUM
     colorOptMenu onedAxisALnCol "Axis color" oned_data(pcolor)  "aie_modify_axis line p"
  frame END
  checkItem onedAxisAMjGd "Draw major grid" oned_data:pgrid_on "aie_modify_axis grid p {}"
  frame onedAxisAMjG "with"
     textEntry onedAxisAMjGLw "Line width" oned_data:pgwidth NUM
     colorOptMenu onedAxisALineMjC "Color" oned_data(pgcolor) "aie_modify_axis grid p"
  frame END
  checkItem onedAxisAMnGd "Draw minor grid" oned_data:pmgrid_on "aie_modify_axis grid p {}"
  frame onedAxisAMnG "with"
     textEntry onedAxisAMnGLw "Line width" oned_data:pmgwidth NUM
     colorOptMenu onedAxisALineMnC "Color" oned_data(pmgcolor) "aie_modify_axis grid p"
  frame END
  frame onedAxisATk "Tick Marks"
     textEntry onedAxisATkMj "Major space" oned_data:pmajorstep NUM
     textEntry onedAxisATkMn "Subticks" oned_data:psubtick NUM
     textEntry onedAxisATkSz "Tick size" oned_data:pticksize NUM
     textEntry onedAxisATkRs "Subtick ratio" oned_data:pmtom NUM
  frame END
dataEntryDialog END

dataEntryDialog onedAxisXDEZ "Modify X Axis"
  frame onedAxisXPos "Positon"
     textEntry onedAxisXPosS "Start" oned_data:x_p0 NUM
     textEntry onedAxisXPosE "End"   oned_data:x_p1 NUM
#    button  onedAxisXPosGet "Get the current position" "aie_modify_axis get_pos x"
  frame END
  frame onedAxisXRg "Range"
     checkItem onedAxisXRgFit "Fit Data" oned_data:xfit "aie_modify_axis fit_plots x {}"
     textEntry onedAxisXRgS "From" oned_data:x0 NUM
     textEntry onedAxisXRgE "To"   oned_data:x1 NUM
  frame END
  frame onedAxisXLn "Scalar Line"
     textEntry onedAxisXLnWd "Line width" oned_data:xlinewidth NUM
     colorOptMenu onedAxisXLnCol "Axis color" oned_data(xcolor)  "aie_modify_axis line x"
  frame END
  checkItem onedAxisXMjGd "Draw major grid" oned_data:xgrid_on "aie_modify_axis grid x {}"
  frame onedAxisXMjG "with"
     textEntry onedAxisXMjGLw "Line width" oned_data:xgwidth NUM
     colorOptMenu onedAxisXLineMjC "Color" oned_data(xgcolor) "aie_modify_axis grid x"
  frame END
  checkItem onedAxisXMnGd "Draw minor grid" oned_data:xmgrid_on "aie_modify_axis grid x {}"
  frame onedAxisXMnG "with"
     textEntry onedAxisXMnGLw "Line width" oned_data:xmgwidth NUM
     colorOptMenu onedAxisXLineMnC "Color" oned_data(xmgcolor) "aie_modify_axis grid x"
  frame END
  frame onedAxisXTk "Tick Marks"
     textEntry onedAxisXTkMj "Major space" oned_data:xmajorstep NUM
     textEntry onedAxisXTkMn "Subticks" oned_data:xsubtick NUM
     textEntry onedAxisXTkSz "Tick size" oned_data:xticksize NUM
     textEntry onedAxisXTkRs "Subtick ratio" oned_data:xmtom NUM
     textOptMenu onedAxisXTkSd "Tick side" oned_data(xtickup) "Downwards 0 Upwards 1" 0 "aie_modify_axis tick x"
     textOptMenu onedAxisXTkLg "Scaling" oned_data(x_log) "Linearly 0 Logarithmic 1" 0 "aie_modify_axis log x"
  frame END
  frame onedAxisXNum "Numbers"
     textEntry onedAxisXNumFmt "Format" oned_data:xnumfmt TEXT
     textEntry onedAxisXNumSft "Shift" oned_data:xnumpos NUM
     textOptMenu onedAxisXNumFnt "Font" oned_data(xnumfont) "small 0 med 1 large 2" 0 "aie_modify_axis number x"
  frame END
dataEntryDialog END

dataEntryDialog onedAxisYDEZ "Modify Y Axis"
  frame onedAxisYPos "Positon"
     textEntry onedAxisYPosS "Start" oned_data:y_p0 NUM
     textEntry onedAxisYPosE "End"   oned_data:y_p1 NUM
#    button  onedAxisYPosGet "Get the current position" "aie_modify_axis get_pos y"
  frame END
  frame onedAxisYRg "Range"
     checkItem onedAxisYRgFit "Fit Data" oned_data:yfit "aie_modify_axis fit_plots y {}"
     textEntry onedAxisYRgS "From" oned_data:y0 NUM
     textEntry onedAxisYRgE "To"   oned_data:y1 NUM
  frame END
  frame onedAxisYLn "Scalar Line"
     textEntry onedAxisYLnWd "Line width" oned_data:ylinewidth NUM
     colorOptMenu onedAxisYLnCol "Axis color" oned_data(ycolor)  "aie_modify_axis line y"
  frame END
  checkItem onedAxisYMjGd "Draw major grid" oned_data:ygrid_on "aie_modify_axis grid y {}"
  frame onedAxisYMjG "with"
     textEntry onedAxisYMjGLw "Line width" oned_data:ygwidth NUM
     colorOptMenu onedAxisYLineMjC "Color" oned_data(ygcolor) "aie_modify_axis grid y"
  frame END
  checkItem onedAxisYMnGd "Draw minor grid" oned_data:ymgrid_on "aie_modify_axis grid y {}"
  frame onedAxisYMnG "with"
     textEntry onedAxisYMnGLw "Line width" oned_data:ymgwidth NUM
     colorOptMenu onedAxisYLineMnC "Color" oned_data(ymgcolor) "aie_modify_axis grid y"
  frame END
  frame onedAxisYTk "Tick Marks"
     textEntry onedAxisYTkMj "Major space" oned_data:ymajorstep NUM
     textEntry onedAxisYTkMn "Subticks" oned_data:ysubtick NUM
     textEntry onedAxisYTkSz "Tick size" oned_data:yticksize NUM
     textEntry onedAxisYTkRs "Subtick ratio" oned_data:ymtom NUM
     textOptMenu onedAxisYTkSd "Tick side" oned_data(ytickup) "Rightwards 0 Leftwards 1" 0 "aie_modify_axis tick y"
     textOptMenu onedAxisYTkLg "Scaling" oned_data(y_log) "Linearly 0 Logarithmic 1" 0 "aie_modify_axis log y"
  frame END
  frame onedAxisYNum "Numbers"
     textEntry onedAxisYNumFmt "Format" oned_data:ynumfmt TEXT
     textEntry onedAxisYNumSft "Shift" oned_data:ynumpos NUM
     textOptMenu onedAxisYNumFnt "Font" oned_data(ynumfont) "small 0 med 1 large 2" 0 "aie_modify_axis number y"
  frame END
dataEntryDialog END

dataEntryDialog onedLegendDEZ "Modify Legend"
  checkItem onedLegendFrDr "Draw frame"  oned_data:leg:fr_on "aie_modify_legend frame {}"
  frame onedLegendFr "with"
     colorOptMenu onedLegendFmCol "Frame color" oned_data(leg,fr_color) "aie_modify_legend frame"
     colorOptMenu onedLegendBgCol "Background" oned_data(leg,fr_bcol) "aie_modify_legend frame"
     textEntry onedLegendWidth "Width" oned_data:leg:fr_width NUM
     textEntry onedLegendPadX "Pad X"  oned_data:leg:fr_padx NUM
     textEntry onedLegendPadY "Pad Y"  oned_data:leg:fr_pady NUM
  frame END
  checkItem onedLegendVnDr "Draw Variable Name" oned_data:leg:vn_on "aie_modify_legend var {}"
  frame onedLegendVn "with"
     colorOptMenu onedLegendVnCol "Color"  oned_data(leg,vn_color) "aie_modify_legend var"
     textOptMenu onedLegendVnFont "Font" oned_data(leg,vn_font) "small 0 med 1 large 2" 0 "aie_modify_legend var"
  frame END
dataEntryDialog END


dataEntryDialog onedPlotDEZ "Modify Current XY Plot"
  checkItem onedPlotSymDr "Draw symbols" oned_data:plt:symbols "aie_modify_xyplots symbol {}"
  frame onedPlotSymFm "with"
     bmpOptMenu onedPlotSymType "Type" oned_data(plt,stype) \$vpost_library \$symbols_predefined 6 "aie_modify_xyplots symbol"
     textOptMenu onedPlotSymFill "  " oned_data(plt,fill) "Hollow 0 Filled 1" 0 "aie_modify_xyplots symbol"
     colorOptMenu onedPlotSymCol "Color" oned_data(plt,scolor) "aie_modify_xyplots symbol"
     textEntry onedPlotSymSz "Size" oned_data:plt:ssize NUM
  frame END
  checkItem onedPlotLnDr "Draw lines" oned_data:plt:line "aie_modify_xyplots line {}"
  frame onedPlotLnFm "with"
     textEntry onedPlotLnWid  "Width" oned_data:plt:lwidth NUM
     colorOptMenu onedPlotLnCol "Color" oned_data(plt,lcolor) "aie_modify_xyplots line"
  frame END
  exclusiveGroup onedPlotXTy "X Type" " " 1 DROPDOWN oned_data:plt:x_type
     exclusiveGroupItem onedPlotXNum "Number of point"
        textLabel onedPlotXNumt " in stored order"
     exclusiveGroupItem END
     exclusiveGroupItem onedPlotXLen "Arc length of curve"
        textEntry onedPlotXLenS "Start value" oned_data:plt:dist0 NUM
     exclusiveGroupItem END
     exclusiveGroupItem onedPlotXDist "Distance from plane"
        textEntry onedPlotXDistA "A" oned_data:plt:A NUM
        textEntry onedPlotXDistB "B" oned_data:plt:B NUM
        textEntry onedPlotXDistC "C" oned_data:plt:C NUM
        textEntry onedPlotXDistD "D" oned_data:plt:D NUM
     exclusiveGroupItem END
     exclusiveGroupItem onedPlotXAng "Angles in cylindrical system"
        textEntry onedPlotXAngZ "Z axis"  oned_data:plt:axis NUM
        textEntry onedPlotXAngO "Origin"  oned_data:plt:center NUM
        textEntry onedPlotXAngS "Zero at" oned_data:plt:zero NUM
     exclusiveGroupItem END
  exclusiveGroup END
  textOptMenu onedPlotYT "Select Y" oned_data(plt,y_type) ::oned_data(plt,y_list) 0 "aie_modify_xyplots y_type"
  checkItem onedPlotFit "Fit Axis" oned_data:plt:axisfit "aie_modify_xyplots axis {}"
  frame onedPlotFitFm "with"
     checkItem onedPlotFitX0 Xmin oned_data:plt:fit_x0 "aie_modify_xyplots axis {}"
     checkItem onedPlotFitX1 Xmax oned_data:plt:fit_x1 "aie_modify_xyplots axis {}"
     checkItem onedPlotFitY0 Ymin oned_data:plt:fit_y0 "aie_modify_xyplots axis {}"
     checkItem onedPlotFitY1 Xmax oned_data:plt:fit_y1 "aie_modify_xyplots axis {}"
  frame END
dataEntryDialog END

