Applesoft BASIC, 930 783 782 727 719 702 695695 637 bytes
-72 bytes and a working program thanks to ceilingcat spotting my error and a shortened algorithm
0TEXT:HOME:INPUTS1INPUTN:HGR:HCOLOR=3:W=279:H=159:W0=WL=W-100:W1=W0Z=L/10:H1=HB=H-100:H2=HC=H-60:K=0.5:M=1/(2*3.14159265*S1*S114159265*N*N):FORI=0TO10STEPK:X=10*I+1:Y=10*I+H1Y=10*I+B:HPLOTX,Y:FORJ=0TOW0FORJ=0TOL STEP1:J1=10*JO=10*J/W0L:D1=ABSD=ABS(5-I):D2=ABSE=ABS(5-J1O):R2=R=(D1*D1+D2*D2D*D+E*E)/(2*S1*S12*N*N):G=EXP(-R2R)*M:A=INT((H2*GC*G)/M):X=10*I+W1*J1+1X=10*I+Z*O+1:Y=10*I+H1Y=10*I+B-A:HPLOTTOX,Y:IF(I=0)GOTO4
1IF(J=W0J=L)GOTO3
2J2=INT2V=INT(J/10):IF((J/10)<>J2<>V)GOTO5
3D1=ABS3D=ABS(5-I+K):D2=ABSE=ABS(5-J1O):R2=R=(D1*D1+D2*D2D*D+E*E)/(2*S1*S12*N*N):U=EXP(-R2R)/(2*3.14159*S1*S114159*N*N):A1=INTS=INT((H2*UC*U)/M):X1=10*P=10*(I-K)+W1*J1+1+Z*O+1:Y1=10*Q=10*(I-K)+H1+B-A1S:HPLOT TOX1TOP,Y1Q:HPLOTX,Y
4IF(J=0)GOTO7:IF(I<10)GOTO5:IF(J=W0J=L)GOTO6:J2=INTV=INT(J/10):IF((J/10)=J2=V)GOTO6
5HCOLOR=0
6HPLOTTOX,10*I+H110*I+B:HCOLOR=3:HPLOTX,Y
7NEXTJ:NEXTI:HPLOTW+1,H:HPLOTTO101,H:HPLOTTO0+1,H1H
When given input 1
:
When given input 2
: