Source code example_2 - YujiSODE/gCS GitHub Wiki

source code examples for geological columnar section

Legend for the columnar section by Source code example_1

code sample on Gist

#gCS_sampleColorLegend.tcl
#@VAR
namespace eval ::gCS {
	#variable _SIZE {width height};
	variable _SIZE {350 272};
	#
	#variable _FONT {CSS_font_value};
	variable _FONT {1em Times New Roman};
	#
	#variable; _TITLE {title_text};
	variable _TITLE {Southern part of Shiroyama Park Ehime colorLegend};
	#
	#variable _SCALE {scaleLabel width height};
	variable _SCALE {{} 0 0};
	#
	#===============================================
	#variable stratumName {standardWidth color|filePath};
	variable muddy_sandS {60 \#3399ff};
	variable alt_sandS_mudS {60 \#009933};
	variable sandS {60 \#ffff00};
	variable conglomerate {60 \#663300};
};
#@VAR
#stratumName:dy ?dx1 dx2?:text??;
#"---" indicates no data over given thickness
#@FIG
#---:30;
#muddy_sandS:30 0 0:Muddy sandstone;
#---:30;
#alt_sandS_mudS:30 0 0:Alternating beds of sandstone and mudstone;
#---:30;
#sandS:30 0 0:Sandstone;
#---:30;
#conglomerate:30 0 0:Base conglomerate;
#---:30;
#@FIG
#@TXT
#General columnar section of the Southern part of Shiroyama Park, Ehime prefecture, Japan.
#This columnar section is based on the route columnar sections by Sode (2008-10-28 to 2009-01-04).
#@TXT

Result

result2