BLT problem
From: Bigdakine (bigdakine_at_aol.comGetaGrip)
Date: 10/28/04
- Next message: Toby Butzon: "Re: JACL word splitting and CRLFs"
- Previous message: Rolf Schroedter: "::starkit::* vars do not exist ?"
- Next in thread: lvirden_at_gmail.com: "Re: BLT problem"
- Reply: lvirden_at_gmail.com: "Re: BLT problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Oct 2004 10:46:41 GMT
When run on a Windows 2000 system (source forge blt2.4z), this script fragment
graph .sitka.g -width 7.0i -height 3.0i -plotbackground black -plotpadx
{2 2} -plotpady {2 2} -relief sunken -title "" -font
-*-courier-bold-*-*-*-8-*-*-*-*-*-*-* -rightmargin 1 -topmargin 1
.sitka.g axis create time_axis
.sitka.g axis create tide_axis
vector create limits
.sitka.g axis configure time_axis -min $TIME(0) -max $TIME([expr
$NUM_POINTS -1 ]) -tickfont *-courier-bold-r-bormal-*-10-* -ticklength 1.0m
.sitka.g axis configure tide_axis -min [expr $MIN - .1] -max [expr
$TIDE(max) + .1] -tickfont *-courier-bold-r-normal-*-10-* -ticklength 1.0m
.sitka.g legend configure -position bottom -font
-*-courier-bold-r-normal-*-10-* -anchor w
.sitka.g xaxis use time_axis
.sitka.g yaxis use tide_axis
Is just peachy all the way to here but gets in trouble with the create line1
statement:
.sitka.g element create line1 -xdata TIME(0:[expr $NUM_POINTS - 1 ])
-ydata TIDE(0:[expr $NUM_POINTS - 1 ]) -mapy tide_axis -mapx time_axis
The error message complains that
TIME(": Premature end of expression while processing -xdata option
.sitka.g element configure line1 -symbol none -color green
.sitka.g legend configure -hide yes
.sitka.g crosshairs on
.sitka.g crosshairs configure -hide no -color red
Blt_Crosshairs .sitka.g
Blt_ZoomStack .sitka.g
pack .sitka.g
Now I also run an earlier version of blt, 2.4u, on a Solaris system. Here I get
no complaints and the script works fine.
Is this a bug, or am I doing something wrong or that is fragile? I suppose what
I could do is dig up a blt2.4u for windows.
Thanks in advance,
Stuart
Dr. Stuart A. Weinstein
Ewa Beach Institute of Tectonics
"To err is human, but to really foul things up requires a creationist"
"Creationists aren't impervious to Logic: They're oblivious to it."
- Next message: Toby Butzon: "Re: JACL word splitting and CRLFs"
- Previous message: Rolf Schroedter: "::starkit::* vars do not exist ?"
- Next in thread: lvirden_at_gmail.com: "Re: BLT problem"
- Reply: lvirden_at_gmail.com: "Re: BLT problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]