set status [ SclFunction "EXIT GRAPHICS" {} ]

set status [ SclFunction "BM EXIT" {
  frm20103={
    {
      exit_mode="E"
    }
  }
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="geostats_example.mdl"
  mode="openInNewLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="qv1.con"
  mode="openInNewLayer"
}]

set status [ SclFunction "BM GRAPHICS ATTRIBUTE COLOUR" {
  frm20504={
    {
      default_face="pink"
      default_edge="blue"
      attribute="anisotropic_kriged_gold"
      range="-2;0;2;3;4;99"
      legend_location="no legend"
      zzzasd=table { color } {
        { "r=0.0 g=0.2 b=0.6" }
        { "r=0.152 g=0.486 b=0.721" }
        { "r=0.058 g=0.874 b=0.737" }
        { "r=0.031 g=0.741 b=0.388" }
        { "yellow" }
        { "r=0.964 g=0.776 b=0.027" }
        { "r=0.921 g=0.474 b=0.058" }
        { "r=0.8 g=0.2 b=0.0" }
        { "r=0.6 g=0.0 b=0.4" }
        { "r=0.8 g=0.0 b=0.8" }
      }
    }
  }
}]

set status [ SclFunction "BM GRAPHICS DRAW" {
  frm20503={
    {
      display="normal"
      constraint="N"
      slice="N"
      rescale="Y"
      all_blocks="N"
      cloud_marker="."
      cloud_size="1"
    }
  }
}]

set status [ SclFunction "VIEW BY BEARING" {
  frm00289={
    {
      bearing="125"
      dip="-30"
    }
  }
}]

set status [ SclFunction "BASIC STATISTICS" {} ]

set status [ SclFunction "STATS BM LOAD" {
  frm20121={
    {
      _action=display
      percentage="75.0"
      block_size="10, 10, 10"
      scroll_1=table { attribute volume_adjustment } {
        { "anisotropic_kriged_gold" "qv1_partial_percent" }
        { "isotropic_kriged_gold" "qv1_partial_percent" }
        { "aniso_iso_diff" "qv1_partial_percent" }
      }
      constrain="Y"
    }
  }
  frm20111={
    {
      constraints=table { not op contype location id rnga rngb lbound ubound ext } {
        { "" "INSIDE" "CONSTRAINT" "qv1" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
      }
      conexp=""
      confile=""
      keep_blocks="N"
    }
  }
}]

set status [ SclFunction "STATS HISTOGRAM" {} ]

set status [ SclFunction "BM BASIC STATISTICS" {} ]

set status [ SclFunction "STATS AXES" {
  xmin="0"
  xmax="12"
  xinc="2"
  ymin="0"
  ymax="2000"
  yinc="200"
}]

set status [ SclFunction "STATS STATISTICS" {
  frm20431={
    {
      range="0,100,10"
      fname="bm_anisotropic_gold"
      report_format=".not - Surpac Note File"
      file_append_overwrite="OVERWRITE"
    }
  }
}]

SclPause 5

set status [ SclFunction "STATS EXIT" {} ]

set status [ SclFunction "RECALL ANY FILE" {
  file="bm_anisotropic_gold.not"
  mode="openInNewLayer"
}]

puts ""
puts ""
puts " macro _12_bm_basic_stats.tcl completed"
puts ""


