📄 dwt
字号:
#!/usr/X11R6/bin/wish8.0# line above hast to be adited according to the location of your wishwm title . DaubechiesWaveletTransformframe .leftpack .left -side leftframe .left.top pack .left.top -side top -fill xlabel .left.top.infilename -text {Inputfile :}entry .left.top.infile -width 20 -relief sunken -textvariable signalpack .left.top.infilename .left.top.infile -side left -fill xframe .left.bottom pack .left.bottom -side top -fill xlabel .left.bottom.outfilename -text Outputfile:entry .left.bottom.outfile -width 20 -relief sunken -textvariable spectrumpack .left.bottom.outfilename .left.bottom.outfile -side left -fill xframe .left.butt -borderwidth 20pack .left.butt -side topbutton .left.butt.run -text Run \ -command {Run $signal $spectrum $direction $ord} button .left.butt.exit -text Exit -command exit#button .left.butt.plot -text Plot -command {Plot $spectrum}pack .left.butt.run .left.butt.exit -side left -padx 10frame .rightpack .right -side rightlabel .right.direction -text {direction of transformation}radiobutton .right.forw -variable direction -text forward -value 1radiobutton .right.backw -variable direction -text inverse -value -1pack .right.direction .right.forw .right.backw -side toplabel .right.order -text {wavelet order}radiobutton .right.one -variable ord -text 1 -value 1radiobutton .right.two -variable ord -text 2 -value 2radiobutton .right.three -variable ord -text 3 -value 3radiobutton .right.four -variable ord -text 4 -value 4pack .right.order -side top -pady 10pack .right.one .right.two .right.three .right.four -side topproc Run {signal spectrum direction ord} {exec daub -I$signal -O$spectrum -D$direction -L$ordtoplevel .nachrichtmessage .nachricht.msg -aspect 1000 -justify left \-text "computation completed" button .nachricht.ok -text OK -command {destroy .nachricht}pack .nachricht.msg .nachricht.ok -side top -padx 20 -pady 20}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -