📄 graxis.idlg
字号:
/*
graxis.idlg Include for graphics r-axis
*! VERSION 1.1.2 31mar2005
Note: This include file is closely related to gxaxis and gyaxis. Any
changes should be reflected in those files.
*/
DIALOG graxis, tabtitle("R-Axis")
BEGIN
/* LEFT SIDE-- Title */
GROUPBOX gb_title _lft _top _gwd1 _ht20, ///
label("Title ")
EDIT ed_title _lft1g _ss _cwd1gb ., ///
option(xtitle)
/* LEFT SIDE-- Title col(1) */
TEXT tx_size _igft _ms _txwd ., ///
label("Size:") right
DEFINE y @y
COMBOBOX cb_size _txsep @ _txr2b4g ., ///
dropdownlist contents(textsizes) option(size)
TEXT tx_tclr _igft _ms _txwd ., ///
label("Color:") right
COMBOBOX cb_tclr _txsep @ _tcr2b4g ., ///
dropdownlist contents(colors) option(color) ///
onselchangelist(graxis_cl_tclr_sel)
COLOR cl_tclr _tcr2b4gsep @ _colorwd ., option(color)
TEXT tx_orient _igft _ms _txwd ., ///
label("Orientation:") right
COMBOBOX cb_orient _txsep @ _txr2b4g ., ///
dropdownlist option(orientation) ///
contents(orientation) ///
values(orientation_values)
/* LEFT SIDE-- Title upper col(2)*/
TEXT tx_just _gft4_2 y _txwd ., ///
label("Justify:") right
COMBOBOX cb_just _txsep @ _txr2b4g ., ///
dropdownlist contents(justification) option(justification)
TEXT tx_align _lft4_2g _ms _txwd ., ///
label("Alignment:") right
COMBOBOX cb_align _txsep @ _txr2b4g ., ///
dropdownlist contents(alignment) option(alignment)
TEXT tx_margin _lft4_2g _ms _txwd ., ///
label("Margin:") right
COMBOBOX cb_margin _txsep @ _txr2b4g ., ///
dropdown contents(margin) option(margin)
TEXT tx_ttlgp _gft4_2 _ms _txwd ., ///
label("Title gap:") right
EDIT ed_ttlgp _txsep @ _txr2b4g ., ///
label("Title gap") option(titlegap)
/* LEFT SIDE-- Title lower*/
CHECKBOX ck_box _igft _ms _cwd1gb _ht5, ///
groupbox label("Box") option(box) ///
onclickon(script grbox_enable) ///
onclickoff(script grbox_disable)
/* LEFT SIDE-- Title lower col(1)*/
TEXT tx_bclr _iigft _ms _txswd ., ///
label("Fill color:") right
COMBOBOX cb_bclr _txssep @ _tcr2b4g ., ///
dropdownlist contents(colors) option(fcolor) ///
onselchangelist(graxis_cl_bclr_sel)
COLOR cl_bclr _tcr2b4gsep @ _colorwd ., option(fcolor)
DEFINE ymk @y
TEXT tx_blclr _iigft _ms _txswd ., ///
label("Line color:") right
COMBOBOX cb_blclr _txssep @ _tcr2b4g ., ///
dropdownlist contents(colors) option(lcolor) ///
onselchangelist(graxis_cl_blclr_sel)
COLOR cl_blclr _tcr2b4gsep @ _colorwd ., option(lcolor)
TEXT tx_bmargin _gft4_2 ymk _txswd ., ///
label("Margin:") right
COMBOBOX cb_bmargin _txssep @ _txr2b4g ., ///
dropdown contents(margin) option(bmargin)
CHECKBOX ck_expand @ _ms _txr2b4g ., ///
label("Ignore text") option(bexpand)
/* LEFT SIDE-- Options */
GROUPBOX gb_option _lft _xls _gwd1 _ht7, ///
label("Scale options ")
/* LEFT SIDE-- Options col(1) */
CHECKBOX ck_range _igft _ss _txwd ., ///
label("Range:") ///
onclickon(script graxis_range_enable) ///
onclickoff(script graxis_range_disable)
EDIT ed_rangefm _txsep @ _en7wd ., ///
label("Y-Axis Range from:") default(.) option(range)
TEXT tx_rangeto _en7sep @ 20 ., ///
label("to:")
EDIT ed_rangeto +25 @ _en7wd ., ///
label("Y-Axis Range to:") default(.)
DEFINE y @y
TEXT tx_lclr _igft _ms _txwd ., ///
label("Color:") right
COMBOBOX cb_lclr _txsep @ _tcr2b4g ., ///
dropdownlist contents(colors) option(lcolor) ///
onselchangelist(graxis_cl_lclr_sel)
COLOR cl_lclr _tcr2b4gsep @ _colorwd ., option(lcolor)
TEXT tx_outergp _igft _ms _txwd ., ///
label("Outer gap:") right
EDIT ed_outergp _txsep @ _txr2b4g ., ///
label("Outer gap") option(outergap)
/* LEFT SIDE-- Options col(2) */
TEXT tx_scfake _gft4_2 y 0 0,
CHECKBOX ck_scaleoff _txsep @ _tcr2b4g ., ///
label("Hide axis") option(off) ///
onclickon(program graxis_hide_scale_check) ///
onclickoff(program graxis_hide_scale_check)
CHECKBOX ck_log @ _ms _tcr2b4g ., ///
label("Log") option(log)
CHECKBOX ck_rev @ _ms _tcr2b4g ., ///
label("Reverse") option(reverse)
/**************************************************************/
/* RIGHT SIDE-- Ticks / Lines */
GROUPBOX gb_mode _lft2g _top _gwd1 _ht30h, ///
label("Ticks / Lines ")
COMBOBOX cb_tkmode _igft2 _ss _cwd4_6 ., ///
dropdownlist contents(grtick_opt) onselchangelist(grmode_change)
TEXT tx_tkmode +150 @ _cwd4_6 .,
TEXT tx_mark2 _igft2 _ms 0 0,
DEFINE rty @y
/**************************************************************/
/* RIGHT SIDE-- Major Ticks */
TEXT tx_rule _igft2 rty _txwd ., ///
label("Rule:") right
EDIT ed_rule _txsep @ _tcr2gi .,
BUTTON bt_rule _tcr2gisep @ _btwd ., ///
label("?") onpush(view help major_tick_rule##|_new)
TEXT tx_cstm _igft2 _ms _txwd ., ///
label("Custom:") right
EDIT ed_cstm _txsep @ _tcr2gi .,
BUTTON bt_cstm _tcr2gisep @ _btwd ., ///
label("?") onpush(view help custom_tick_labels##|_new)
/* RIGHT SIDE-- Major Ticks upper col(1) */
TEXT tx_tpos _igft2 _ms _txwd ., ///
label("Position:") right
COMBOBOX cb_tpos _txsep @ _txr2b4g ., ///
dropdownlist contents(tickpos) option(tposition)
DEFINE y @y
TEXT tx_tlng _igft2 _ms _txwd ., ///
label("Length:") right
EDIT ed_tlng _txsep @ _txr2b4g ., ///
label("Length") option(tlength)
TEXT tx_notk _igft2 _ms _txwd ., ///
label("Hide tick:") right
COMBOBOX cb_notk _txsep @ _txr2b4g ., ///
dropdownlist contents(yesno) values(graxis_cb_tick)
TEXT tx_nolab _igft2 _ms _txwd ., ///
label("Hide label:") right
COMBOBOX cb_nolab _txsep @ _txr2b4g ., ///
dropdownlist contents(yesno) values(graxis_cb_label)
CHECKBOX ck_vlab @ _ms _txr2b4g ., ///
label("Value labels") option(valuelabel)
CHECKBOX ck_altr @ _ss _txr2b4g ., ///
label("Alt. labels") option(alternate)
TEXT tx_tmark _igft2 _vss _txr2b4g 0,
DEFINE y2 @y
/* RIGHT SIDE-- Major Ticks upper col(2) */
TEXT tx_tlclr _gft4_4 y _txwd ., ///
label("Color:") right
COMBOBOX cb_tlclr _txsep @ _tcr2b4g ., ///
dropdownlist contents(colors) onselchangelist(graxis_cl_tlclr_sel)
COLOR cl_tlclr _tcr2b4gsep @ _colorwd .,
TEXT tx_ang _gft4_4 _ms _txwd ., ///
label("Angle:") right
COMBOBOX cb_ang _txsep @ _txr2b4g ., ///
dropdownlist contents(angles) option(angle)
TEXT tx_fmt _gft4_4 _ms _txwd ., ///
label("Format:") right
EDIT ed_fmt _txsep @ _tcr2b4g ., ///
option(format)
BUTTON bt_fmt _tcr2b4gsep @ _btwd ., ///
label("?") onpush(view help format##|_new)
TEXT tx_lgap _gft4_4 _ms _txwd ., ///
label("Label gap:") right
EDIT ed_lgap _txsep @ _txr2b4g ., ///
option(labgap)
TEXT tx_lsize _gft4_4 _ms _txwd ., ///
label("Label size:") right
COMBOBOX cb_lsize _txsep @ _txr2b4g ., ///
dropdownlist contents(textsizes) option(labsize)
/* RIGHT SIDE-- Major Ticks lower*/
CHECKBOX ck_grid _igft2 y2 _gwd2 _ht7, ///
groupbox label("Grid") option(grid) ///
onclickon(script grgrid_enable) ///
onclickoff(script grgrid_disable)
/* RIGHT SIDE-- Major Ticks lower col(1)*/
TEXT tx_gall _iigft2 _ss _txswd ., ///
label("All lines:") right
COMBOBOX cb_gall _txssep @ _txr2b4g ., ///
dropdownlist contents(yesno) values(graxis_cb_gall)
DEFINE y @y
TEXT tx_gwd _iigft2 _ms _txswd ., ///
label("Width:") right
COMBOBOX cb_gwd _txssep @ _txr2b4g ., ///
dropdownlist contents(linewidths) option(glwidth)
/* RIGHT SIDE-- Major Ticks lower col(2)*/
TEXT tx_gclr _gft4_4 y _txswd ., ///
label("Color:") right
COMBOBOX cb_gclr _txssep @ _tcr2b4g ., ///
dropdownlist contents(colors) option(glcolor) ///
onselchangelist(graxis_cl_gclr_sel)
COLOR cl_gclr _tcr2b4gsep @ _colorwd ., option(glcolor)
TEXT tx_pat _gft4_4 _ms _txswd ., ///
label("Pattern:") right
COMBOBOX cb_pat _txssep @ _txr2b4g ., ///
dropdownlist contents(clockpos) option(glpattern)
TEXT tx_extend _iigft2 _ms _txr2gia ., ///
label("Extend into plot region margin:") right
COMBOBOX cb_extend _txr2giasep @ _txr2b4g ., ///
dropdownlist contents(yesno) values(graxis_cb_gextend)
/**************************************************************/
/* RIGHT SIDE-- Minor Ticks */
TEXT tx_mrule _igft2 rty _txwd ., ///
label("Rule:") right
EDIT ed_mrule _txsep @ _tcr2gi .,
BUTTON bt_mrule _tcr2gisep @ _btwd ., ///
label("?") onpush(view help minor_tick_rule##|_new)
TEXT tx_mcstm _igft2 _ms _txwd ., ///
label("Custom:") right
EDIT ed_mcstm _txsep @ _tcr2gi ., ///
label("Custom")
BUTTON bt_mcstm _tcr2gisep @ _btwd ., ///
label("?") onpush(view help custom_tick_labels##|_new)
/* RIGHT SIDE-- Minor Ticks upper col(1) */
TEXT tx_mtpos _igft2 _ms _txwd ., ///
label("Position:") right
COMBOBOX cb_mtpos _txsep @ _txr2b4g ., ///
dropdownlist contents(tickpos) option(tposition)
DEFINE y @y
TEXT tx_mtlng _igft2 _ms _txwd ., ///
label("Length:") right
EDIT ed_mtlng _txsep @ _txr2b4g ., ///
label("Length") option(tlength)
TEXT tx_mnotk _igft2 _ms _txwd ., ///
label("Hide tick:") right
COMBOBOX cb_mnotk _txsep @ _txr2b4g ., ///
dropdownlist contents(yesno) values(graxis_cb_tick)
TEXT tx_mnolab _igft2 _ms _txwd ., ///
label("Hide label:") right
COMBOBOX cb_mnolab _txsep @ _txr2b4g ., ///
dropdownlist contents(yesno) values(graxis_cb_label)
CHECKBOX ck_mvlab @ _ms _txr2b4g ., ///
label("Value labels") option(valuelabel)
CHECKBOX ck_maltr @ _ss _txr2b4g ., ///
label("Alt. labels") option(alternate)
TEXT tx_mtmark _igft2 _vss 0 0,
DEFINE y2 @y
/* RIGHT SIDE-- Minor Ticks upper col(2) */
TEXT tx_mtlclr _gft4_4 y _txwd ., ///
label("Color:") right
COMBOBOX cb_mtlclr _txsep @ _tcr2b4g ., ///
dropdownlist contents(colors) onselchangelist(graxis_cl_mtlclr_sel)
COLOR cl_mtlclr _tcr2b4gsep @ _colorwd .,
TEXT tx_mang _gft4_4 _ms _txwd ., ///
label("Angle:") right
COMBOBOX cb_mang _txsep @ _txr2b4g ., ///
dropdownlist contents(angles) option(angle)
TEXT tx_mfmt _gft4_4 _ms _txwd ., ///
label("Format:") right
EDIT ed_mfmt _txsep @ _tcr2b4g ., ///
option(format)
BUTTON bt_mfmt _tcr2b4gsep @ _btwd ., ///
label("?") onpush(view help format##|_new)
TEXT tx_mlgap _gft4_4 _ms _txwd ., ///
label("Label gap:") right
EDIT ed_mlgap _txsep @ _txr2b4g ., ///
option(labgap)
TEXT tx_mlsize _gft4_4 _ms _txwd ., ///
label("Label size:") right
COMBOBOX cb_mlsize _txsep @ _txr2b4g ., ///
dropdownlist contents(textsizes) option(labsize)
/* RIGHT SIDE-- Minor Ticks lower*/
CHECKBOX ck_mgrid _igft2 y2 _cwd1gb _ht7, ///
groupbox label("Grid") option(grid) ///
onclickon(script grmgrid_enable) ///
onclickoff(script grmgrid_disable)
/* RIGHT SIDE-- Minor Ticks lower col(1)*/
TEXT tx_mgall _iigft2 _ss _txswd ., ///
label("All lines:") right
COMBOBOX cb_mgall _txssep @ _txr2b4g ., ///
dropdownlist contents(yesno) values(graxis_cb_gall)
DEFINE y @y
TEXT tx_mgwd _iigft2 _ms _txswd ., ///
label("Width:") right
COMBOBOX cb_mgwd _txssep @ _txr2b4g ., ///
dropdownlist contents(linewidths) option(glwidth)
/* RIGHT SIDE-- Minor Ticks lower col(2)*/
TEXT tx_mgclr _gft4_4 y _txswd ., ///
label("Color:") right
COMBOBOX cb_mgclr _txssep @ _tcr2b4g ., ///
dropdownlist contents(colors) option(glcolor) ///
onselchangelist(graxis_cl_mgclr_sel)
COLOR cl_mgclr _tcr2b4gsep @ _colorwd ., option(glcolor)
TEXT tx_mpat _gft4_4 _ms _txswd ., ///
label("Pattern:") right
COMBOBOX cb_mpat _txssep @ _txr2b4g ., ///
dropdownlist contents(clockpos) option(glpattern)
TEXT tx_mextend _iigft2 _ms _txr2gia ., ///
label("Extend into plot region margin:") right
COMBOBOX cb_mextend _txr2giasep @ _txr2b4g ., ///
dropdownlist contents(yesno) values(graxis_cb_gextend)
/**************************************************************/
/* Line options */
TEXT tx_lline _igft2 rty _txwd ., ///
label("Values:") right
EDIT ed_lline _txsep @ _txr2gi .,
/* Line options col(1) */
TEXT tx_llwd _iigft2 _ms _txswd ., ///
label("Width:") right
COMBOBOX cb_llwd _txssep @ _txr2b4g ., ///
dropdownlist contents(linewidths) option(lwidth)
/* Line options col(2) */
TEXT tx_llclr _gft4_4 @ _txwd ., ///
label("Color:") right
COMBOBOX cb_llclr _txsep @ _tcr2b4g ., ///
dropdownlist contents(colors) option(lcolor) ///
onselchangelist(graxis_cl_llclr_sel)
COLOR cl_llclr _tcr2b4gsep @ _colorwd ., option(lcolor)
TEXT tx_llpat _gft4_4 _ms _txwd ., ///
label("Pattern:") right
COMBOBOX cb_llpat _txsep @ _txr2b4g ., ///
dropdownlist contents(linepatterns) option(lpattern)
TEXT tx_lextend _igft2 _ms _txr2ga ., ///
label("Extend into plot region margin:") right
COMBOBOX cb_lextend _txr2gasep @ _txr2b4g ., ///
dropdownlist contents(yesno) values(graxis_cb_extend)
END
LIST grtick_opt
BEGIN
"Major ticks"
"Minor ticks"
"Additional lines"
END
LIST grmode_change
BEGIN
script grmajor_on
script grminor_on
script grlines_on
END
LIST graxis_cl_tclr_sel
BEGIN
graxis.cl_tclr.hide
graxis.cl_tclr.show
graxis.cl_tclr.hide
END
LIST graxis_cl_bclr_sel
BEGIN
graxis.cl_bclr.hide
graxis.cl_bclr.show
graxis.cl_bclr.hide
END
LIST graxis_cl_blclr_sel
BEGIN
graxis.cl_blclr.hide
graxis.cl_blclr.show
graxis.cl_blclr.hide
END
LIST graxis_cl_lclr_sel
BEGIN
graxis.cl_lclr.hide
graxis.cl_lclr.show
graxis.cl_lclr.hide
END
LIST graxis_cl_tlclr_sel
BEGIN
graxis.cl_tlclr.hide
graxis.cl_tlclr.show
graxis.cl_tlclr.hide
END
LIST graxis_cl_gclr_sel
BEGIN
graxis.cl_gclr.hide
graxis.cl_gclr.show
graxis.cl_gclr.hide
END
LIST graxis_cl_mtlclr_sel
BEGIN
graxis.cl_mtlclr.hide
graxis.cl_mtlclr.show
graxis.cl_mtlclr.hide
END
LIST graxis_cl_mgclr_sel
BEGIN
graxis.cl_mgclr.hide
graxis.cl_mgclr.show
graxis.cl_mgclr.hide
END
LIST graxis_cl_llclr_sel
BEGIN
graxis.cl_llclr.hide
graxis.cl_llclr.show
graxis.cl_llclr.hide
END
LIST graxis_cb_tick
BEGIN
""
"noticks"
"ticks"
END
LIST graxis_cb_label
BEGIN
""
"nolabels"
"labels"
END
LIST graxis_cb_gall
BEGIN
""
"gmax gmin"
"nogmax nogmin"
END
LIST graxis_cb_gextend
BEGIN
""
"gextend"
"nogextend"
END
LIST graxis_cb_extend
BEGIN
""
"extend"
"noextend"
END
PROGRAM graxis_hide_scale_check
BEGIN
if !H(graxis.ck_scaleoff) {
if graxis.ck_scaleoff {
call script graxis_hide_scale_on
}
if !graxis.ck_scaleoff {
call script graxis_hide_scale_off
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -