阳:=c-ref(c,1)>0 or (c-ref(c,1)=0 and c>o); 阴:=c-ref(c,1)<0 or (c-ref(c,1)=0 and c<=o); 乾:=阳 and ref(阳,1) and ref(阳,2); 兑:=阳 and ref(阳,1) and ref(阴,2); 离:=阳 and ref(阴,1) and ref(阳,2); 震:=阳 and ref(阴,1) and ref(阴,2); 巽:=阴 and ref(阳,1) and ref(阳,2); 坎:=阴 and ref(阳,1) and ref(阴,2); 艮:=阴 and ref(阴,1) and ref(阳,2); 坤:=阴 and ref(阴,1) and ref(阴,2); DRAWTEXT( 乾 and ref(乾,3),h*1.04,'天'),color90a9c1,linethick5; DRAWTEXT( 乾 and ref(兑,3),h*1.04,'夬'),colorff00ff; DRAWTEXT( 乾 and ref(离,3),h*1.04,'大有'),colorff00ff; DRAWTEXT( 乾 and ref(震,3),h*1.04,'大壮'),colorff00ff; DRAWTEXT( 乾 and ref(巽,3),h*1.04,'小畜'),colorff00ff; DRAWTEXT( 乾 and ref(坤,3),h*1.04,'泰'),colorff00ff; DRAWTEXT( 乾 and ref(坎,3),h*1.04,'需'),colorff00ff; DRAWTEXT( 乾 and ref(艮,3),h*1.04,'大畜'),colorff00ff; DRAWTEXT( 兑 and ref(兑,3),h*1.04,'泽'),colorwhite,linethick4; DRAWTEXT( 兑 and ref(乾,3),h*1.04,'履'),colorwhite; DRAWTEXT( 兑 and ref(离,3),h*1.04,'暌'),colorwhite; DRAWTEXT( 兑 and ref(震,3),h*1.04,'归妹'),colorwhite; DRAWTEXT( 兑 and ref(巽,3),h*1.04,'中孚'),colorwhite; DRAWTEXT( 兑 and ref(坎,3),h*1.04,'节'),colorwhite; DRAWTEXT( 兑 and ref(艮,3),h*1.04,'损'),colorwhite; DRAWTEXT( 兑 and ref(坤,3),h*1.04,'临'),colorwhite; DRAWTEXT( 离 and ref(离,3),h*1.04,'火'),colorred,linethick4; DRAWTEXT( 离 and ref(乾,3),h*1.04,'同人'),colorred; DRAWTEXT( 离 and ref(兑,3),h*1.04,'革'),colorred; DRAWTEXT( 离 and ref(震,3),h*1.04,'丰'),colorred; DRAWTEXT( 离 and ref(巽,3),h*1.04,'家人'),colorred; DRAWTEXT( 离 and ref(坎,3),h*1.04,'既济'),colorred; DRAWTEXT( 离 and ref(艮,3),h*1.04,'贲'),colorred; DRAWTEXT( 离 and ref(坤,3),h*1.04,'明夷'),colorred; DRAWTEXT( 震 and ref(震,3),h*1.04,'雷'),colorgreen,linethick4; DRAWTEXT( 震 and ref( 坤,3),h*1.04,'复'),colorgreen; DRAWTEXT( 震 and ref(乾,3),h*1.04,'无妄'),colorgreen; DRAWTEXT( 震 and ref(兑,3),h*1.04,'随'),colorgreen; DRAWTEXT( 震 and ref(巽,3),h*1.04,'益'),colorgreen; DRAWTEXT( 震 and ref(坎,3),h*1.04,'屯'),colorgreen; DRAWTEXT( 震 and ref(艮,3),h*1.04,'颐'),colorgreen; DRAWTEXT( 震 and ref(离,3),h*1.04,'噬嗑'),colorgreen; DRAWTEXT( 巽 and ref(巽,3),h*1.04,'风'),color00a300,linethick4; DRAWTEXT( 巽 and ref(乾,3),h*1.04,'姤'),color00a300; DRAWTEXT( 巽 and ref(兑,3),h*1.04,'大过'),color00a300; DRAWTEXT( 巽 and ref(离,3),h*1.04,'鼎'),color00a300; DRAWTEXT( 巽 and ref(震,3),h*1.04,'恒'),color00a300; DRAWTEXT( 巽 and ref(坎,3),h*1.04,'井'),color00a300; DRAWTEXT( 巽 and ref(艮,3),h*1.04,'蛊'),color00a300; DRAWTEXT( 巽 and ref(坤,3),h*1.04,'升'),color00a300; DRAWTEXT( 坎 and ref(巽,3),h*1.04,'涣'),colorblue; DRAWTEXT( 坎 and ref(乾,3),h*1.04,'讼'),colorblue; DRAWTEXT( 坎 and ref(兑,3),h*1.04,'困'),colorblue; DRAWTEXT( 坎 and ref(离,3),h*1.04,'未济'),colorblue; DRAWTEXT( 坎 and ref(震,3),h*1.04,'解'),colorblue; DRAWTEXT( 坎 and ref(坎,3),h*1.04,'水'),colorblue,linethick4; DRAWTEXT( 坎 and ref(艮,3),h*1.04,'蒙'),colorblue; DRAWTEXT( 坎 and ref(坤,3),h*1.04,'师'),colorblue; DRAWTEXT( 艮 and ref(乾,3),h*1.04,'遁'),colorffff00; DRAWTEXT( 艮 and ref(兑,3),h*1.04,'咸'),colorffff00; DRAWTEXT( 艮 and ref(离,3),h*1.04,'旅'),colorffff00; DRAWTEXT( 艮 and ref(震,3),h*1.04,'小过'),colorffff00; DRAWTEXT( 艮 and ref(巽,3),h*1.04,'渐'),colorffff00; DRAWTEXT( 艮 and ref(坤,3),h*1.04,'谦'),colorffff00; DRAWTEXT( 艮 and ref(坎,3),h*1.04,'蹇'),colorffff00; DRAWTEXT( 艮 and ref(艮,3),h*1.04,'山'),colorffff00,linethick4; DRAWTEXT( 坤 and ref(乾,3),h*1.04,'否'),coloryellow; DRAWTEXT( 坤 and ref(兑,3),h*1.04,'萃'),coloryellow; DRAWTEXT( 坤 and ref(离,3),h*1.04,'晋'),coloryellow; DRAWTEXT( 坤 and ref(震,3),h*1.04,'豫'),coloryellow; DRAWTEXT( 坤 and ref(巽,3),h*1.04,'观'),coloryellow; DRAWTEXT( 坤 and ref(坎,3),h*1.04,'比'),coloryellow; DRAWTEXT( 坤 and ref(艮,3),h*1.04,'剥'),coloryellow; DRAWTEXT( 坤 and ref(坤,3),h*1.04,'地'),coloryellow,linethick4; 天:( 乾 and ref(乾,3))*8888,linethick0; 夬: (乾 and ref(兑,3))*8888,linethick0; 大有:( 乾 and ref(离,3))*1888,linethick0; 大壮:( 乾 and ref(震,3))*1888,linethick0; 小畜:( 乾 and ref(巽,3))*288,linethick0; 泰:( 乾 and ref(坤,3))*288,linethick0; 需:( 乾 and ref(坎,3))*288,linethick0; 大畜:( 乾 and ref(艮,3))*288,linethick0; 前八卦:天 or 夬 or 大有 or 大壮 or 小畜 or 泰 or 需 or 大畜,linethick0; 泽:( 兑 and ref(兑,3))*188,linethick0; 履:( 兑 and ref(乾,3))*188,linethick0; 暌:( 兑 and ref(离,3))*188,linethick0; 归妹:( 兑 and ref(震,3))*188,linethick0; 中孚:( 兑 and ref(巽,3))*188,linethick0; 节:( 兑 and ref(坎,3))*188,linethick0; 损:( 兑 and ref(艮,3))*188,linethick0; 临:( 兑 and ref(坤,3))*188,linethick0; 前4卦:天 or 夬 or 大有 or 大壮,linethick0; |