Changeset 4202 for trunk/gui/scripts
- Timestamp:
- Mar 4, 2014, 2:36:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/xyresult.tcl
r4181 r4202 229 229 # ---------------------------------------------------------------------- 230 230 itcl::body Rappture::XyResult::add {dataobj {settings ""}} { 231 #puts stderr "add: dataobj=$dataobj settings=$settings"232 231 set g $itk_component(plot) 233 232 SetElements $dataobj $settings … … 297 296 } 298 297 } 299 if { [$dataobj info class] == " Rappture::Curve" } {298 if { [$dataobj info class] == "::Rappture::Curve" } { 300 299 BuildMarkers $dataobj $elem 301 300 } … … 331 330 # ---------------------------------------------------------------------- 332 331 itcl::body Rappture::XyResult::delete {args} { 333 #puts stderr "XyResult::delete args=$args"334 332 set g $itk_component(plot) 335 333 … … 368 366 # ---------------------------------------------------------------------- 369 367 itcl::body Rappture::XyResult::scale {args} { 370 #puts stderr "XyResult::scale args=$args"371 368 set _dlist $args 372 369 BuildGraph $args … … 497 494 set g $itk_component(plot) 498 495 496 set ymin -Inf 497 set ymax Inf 498 set xmax Inf 499 set xmin -Inf 499 500 foreach m [$dataobj xmarkers] { 500 501 foreach {at label style} $m break … … 1440 1441 switch -- $axis { 1441 1442 "x" - "x2" - "y" - "y2" { 1442 $g axis configure $axis -hide yes 1443 $g axis configure $axis -hide yes -checklimits no 1443 1444 } 1444 1445 default {
Note: See TracChangeset
for help on using the changeset viewer.