graphstyle.class

来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· CLASS 代码 · 共 69 行

CLASS
69
字号
//				graphstyle
//
//  Base style for graphs

*! version 1.0.2  18nov2004
version 8

class {
	declared_xsize	  = .graphsize.new , style(4)
	declared_ysize	  = .graphsize.new , style(4)			

	title_position	  = .clockdir.new
	title_ring	  = .gridringstyle.new
	title_span	  = .yesno.new
	subtitle_position = .clockdir.new
	subtitle_ring	  = .gridringstyle.new
	subtitle_span	  = .yesno.new
	caption_position  = .clockdir.new
	caption_ring	  = .gridringstyle.new
	caption_span	  = .yesno.new
	note_position	  = .clockdir.new
	note_ring	  = .gridringstyle.new
	note_span	  = .yesno.new
	legend_position	  = .clockdir.new
	legend_ring	  = .gridringstyle.new
	legend_span	  = .yesno.new
	spacers_ring	  = .gridringstyle.new

	alt_xaxes	  = .yesno.new
	alt_yaxes	  = .yesno.new
	x2axis_ontop	  = .yesno.new
	y2axis_onright	  = .yesno.new

	aspect_ratio	  = .numstyle.new
	aspect_pos	  = .compass2dir.new

	pcycle		  = .numstyle.new

	max_wted_symsize  = .numstyle.new , style(10)

	plotregionstyle	  = .plotregionstyle.new
} , inherit(plotregionstyle)



/*  
// ----------------------------------------------------------------------------
//  _set_ programs for making changes that have side effects

program _set_title_position

	local 0 , `0'
	syntax [ , Top Bottom Left Right * ]

	if "`top'`bottom'`left'`right'" != "" {
		.title_inside.set_false
	}
	else {
		.title_inside.set_true
	}

	if "`1'" == "`.title_position.setting'" {
		exit
	}

	.title_position.setstyle, style(`1')			/* set style */
end
*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?