Changeset 1580 for trunk/gui


Ignore:
Timestamp:
Oct 13, 2009, 3:57:07 PM (15 years ago)
Author:
gah
Message:
 
Location:
trunk/gui/scripts
Files:
2 edited

Legend:

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

    r1575 r1580  
    4444   
    4545    # Kill the title and create a border around the plot
    46     $clone configure -title "" -plotborderwidth 1 -plotrelief solid  \
     46    $clone configure \
     47        -title "" \
     48        -plotborderwidth 1 -plotrelief solid  \
    4749        -plotbackground white -plotpadx 0 -plotpady 0
    4850    #
    49     $clone legend configure -position right -font "*-helvetica-medium-r-normal-*-12-*" \
     51    $clone legend configure \
     52        -position right \
     53        -font "*-helvetica-medium-r-normal-*-12-*" \
    5054        -hide yes -borderwidth 0 -background white -relief flat \
    5155        -anchor nw -activeborderwidth 0
    5256    #
    5357    foreach axis [$clone axis names] {
    54         $clone axis configure $axis -ticklength 5 -loose always
    55 #-min "" -max ""
    56         $clone axis configure $axis -tickfont "*-helvetica-medium-r-normal-*-12-*" \
     58        $clone axis configure $axis -ticklength 5 -loose always \
     59-min "" -max ""
     60        $clone axis configure $axis \
     61            -tickfont "*-helvetica-medium-r-normal-*-12-*" \
    5762            -titlefont "*-helvetica-medium-r-normal-*-12-*"
    5863    }
     
    6166    #$clone y2axis configure -rotate 270
    6267    foreach elem [$clone element names] {
    63         $clone element configure $elem -linewidth 1
     68        $clone element configure $elem -linewidth 1 \
     69            -symbol splus -pixels 3 -maxsymbols 10
    6470    }
    6571    set output [$clone postscript output \
  • trunk/gui/scripts/xyresult.tcl

    r1572 r1580  
    163163    itk_component add plot {
    164164        blt::graph $f.plot \
    165             -highlightthickness 0 -plotpadx 0 -plotpady 0 \
     165            -highlightthickness 0 -plotpadx 0 -plotpady 4 \
    166166            -rightmargin 10
    167167    } {
     
    843843                    set logmin [expr {floor(log10(abs($min)))}]
    844844                    set logmax [expr {ceil(log10(abs($max)))}]
     845                    if 0 {
    845846                    if {[string match y* $axis]} {
    846847                        # add a little padding
     
    850851                        set logmax [expr {$logmax+0.05*$delta}]
    851852                    }
     853                    }
    852854                }
    853855                if {$logmin < -300} {
     
    870872                set max $_limits(${axis}lin-max)
    871873
     874                if 0 {
    872875                if {[string match y* $axis]} {
    873876                    # add a little padding
     
    876879                    set max [expr {$max+0.05*$delta}]
    877880                }
     881                }
    878882            }
    879883            if {$min < $max} {
Note: See TracChangeset for help on using the changeset viewer.