$Title Example 3.3-Simple NPN diffused BJT Comment Initialize 1D grid...lines at x=0 and x=1 um are the default LINE Y LOC=0 SPAC=0.02 LINE Y LOC=2 SPAC=0.02 Initialize <100> Phos=1E16 LINE.DAT Comment diffuse boron (predep followed by a drive-in in nitrogen) Diffusion Time=10 Temp=1000 Boron=1e20 Diffusion Time=60 Temperature=1100 Nitrogen Comment Diffuse Phosphorous (predep + drive-in) Diffusion Time=7 Temp=1050 Phos=1e20 Diffusion Time=5 Temp=1000 Nitrogen $Select Z=LOG10(phos) LABEL=LOG(B) $Plot.1d x.value=0 line.typ=3 $Select Z=LOG10(boron) LABEL=LOG(P) $Plot.1d x.value=0 line.typ=5 ^axes ^CLEAR Select Z=LOG10(phos-boron) LABEL=LOG(Phos-Boron) Plot.1d x.value=0 line.typ=5 Stop End example 1