I keep getting the
xterm: Xt error: cannot connect to X server:[:0]
error trying to run PGPLOT function. I am running xmings and putty with X11 forwarding enabled.
I have tried echo $DISPLAY and xterm, I did get the same IPs for $DISPLAY but I faced the error:
xterm: Xt error: Can't open display:[:0].
I am using windows 11
if/then/else
programming code problems. Please delete here and post to Super User. Good luck.