Ignore:
Timestamp:
Sep 25, 2005 12:40:17 PM (19 years ago)
Author:
mmc
Message:

Lots of fixes for app-pntoy and other tools:

  • Fixed plotting to recognize "-color name" in the style section, and to use auto colors for overlayed plots.
  • Fixed x-y plotting to keep axes instead of resetting when flipping back and forth between plots.
  • Fixed 1D fields to support new lin/log limits queries, so it plots properly.
  • Added support for <string> output values.
  • Fixed molecular viewer so that 3D rotation is unconstrained and more intuitive.
  • Fixed Rappture::exec to handle newlines properly. Sometimes output would get all mixed together without newlines. Works better now.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/radiodial.tcl

    r11 r64  
    1717option add *Radiodial.dialFillColor white widgetDefault
    1818option add *Radiodial.lineColor gray widgetDefault
    19 option add *Radiodial.activeLineColor red widgetDefault
     19option add *Radiodial.activeLineColor black widgetDefault
    2020option add *Radiodial.valueWidth 10 widgetDefault
    2121option add *Radiodial.font \
     
    192192                $op rlist [lindex $_values $i]
    193193            }
     194            position {
     195                foreach {min max} [_limits] break
     196                set v [lindex $_values $i]
     197                set frac [expr {double($v-$min)/($max-$min)}]
     198                $op rlist $frac
     199            }
    194200            all {
    195201                set v [lindex $_values $i]
    196                 $op rlist [list $_val2label($v) $v]
     202                foreach {min max} [_limits] break
     203                set frac [expr {double($v-$min)/($max-$min)}]
     204                $op rlist [list $_val2label($v) $v $frac]
    197205            }
    198206            default {
    199                 error "bad value \"$v\": should be label, value, all"
     207                error "bad value \"$v\": should be label, value, position, all"
    200208            }
    201209        }
Note: See TracChangeset for help on using the changeset viewer.