美文网首页
IGOR绘图范例

IGOR绘图范例

作者: Aerosols | 来源:发表于2020-12-24 09:52 被阅读0次
function plot_rz()

wave timedate = root:timeDate

setdataFolder root:FHS
wave SOR  = SOR
wave NOR  = NOR
wave PM25 = PM25
wave O3 = O3
wave NS_ratio = NS_ratio
wave Balance = Balance



display PM25 vs timedate
appendToGraph/R=NS  NS_ratio vs timedate
appendToGraph/L=B   Balance vs timedate
appendToGraph/L=SOR SOR,NOR vs timedate


 
ModifyGraph axisEnab(left)={0,0.3},axisEnab(NS)={0,0.3}
ModifyGraph axisEnab(SOR)={0.33,0.63}
ModifyGraph axisEnab(B)={0.66,0.96}

ModifyGraph mode(NS_ratio)=4,marker(NS_ratio)=19,rgb(NS_ratio)=(65535,49157,16385)
ModifyGraph rgb(PM25)=(0,0,0),mode(PM25)=5,toMode(PM25)=1
SetAxis left 0,205

ModifyGraph margin(right)=75
ModifyGraph margin(left)=75
ModifyGraph mode(SOR)=4,marker(SOR)=17,rgb(NOR)=(16386,65535,16385)
ModifyGraph mode(NOR)=4,marker(NOR)=16
ModifyGraph freePos(B)=1.04348,freePos(SOR)=1.04348,freePos(NS)=1.04348
ModifyGraph mode(Balance)=1,toMode(Balance)=1
ModifyGraph rgb(Balance)=(0,0,65535)
ModifyGraph minor(bottom)=1,sep(bottom)=20


Label bottom "Date"
Label left "PM2.5(μg/m\\S3\\M)"
Label NS "\\K(65535,49157,16385)NO3/SO4"
Label SOR "SOR&NOR"
Label B "Anion/Cation"

TextBox/C/N=text0/A=MC/X=-2.11/Y=5.05 "\\K(16386,65535,16385)NOR"
TextBox/C/N=text1/A=MC/X=5.0/Y=5 "\\K(65535,0,0)SOR"

ModifyGraph lblPos(SOR) =55,   lblLatPos(SOR) =1
ModifyGraph lblPos(NS)  =50,    lblLatPos(NS) =1
ModifyGraph lblPos(left)  =55,    lblLatPos(left) =1
ModifyGraph lblPos(B)   =55,   lblLatPos(B)   =1
TextBox/C/N=text2/X=49.5/Y=49.5 "\\Z24FHS"

SetAxis left 0,205
SetAxis SOR 0,0.8
SetAxis B 0,2
SetAxis NS 0,6
//SetAxis/A

end
FHS.png

相关文章

网友评论

      本文标题:IGOR绘图范例

      本文链接:https://www.haomeiwen.com/subject/qfnpnktx.html