Ansys Learning Forum › Forums › Discuss Simulation › Photonics › FDTD crash when plotting figures using script › Reply To: FDTD crash when plotting figures using script
July 22, 2021 at 2:25 pm
Greg Baethge
Ansys Employee
Thanks for the additional information,. Could you give us some more details on the machine? What OS version is it running? Are the graphics driver up to date? As I mentioned, I haven't been able to reproduce the crash so far, I tried on my laptop and on a virtual machine. In both cases, I could get the plot running:
x = linspace(-20,20, 20000)*1e-6;
MFD = 8.9e-6;
sigma = MFD / 2;
Gaussian = exp(-(x /sigma)^2);
plot(x, Gaussian);
both machines are running Windows 10 Enterprise.
x = linspace(-20,20, 20000)*1e-6;
MFD = 8.9e-6;
sigma = MFD / 2;
Gaussian = exp(-(x /sigma)^2);
plot(x, Gaussian);
both machines are running Windows 10 Enterprise.