I'm using Plots.jl with the default backend to plot an image and save the figure.
using Plots: plot, savefig
plot(rangex,rangey,some_image,xticks,yticks,...);
savefig("name.jpg");
this works perfectly fine with Juno IDE. But my final code is expected to run in the terminal. When I try to run the same code in terminal it becomes super slow and in each plot I see a GKS QtTerm window appear and disappear for a moment. Is there a way to disable this window?
EDIT: Here are my runtime results.
In Atom Juno:
- starting julia + loading libraries & functions took about 36s
- doing 100 plot iterations took about 55s
- total of 91 seconds.
In Windows cmd:
- starting julia + loading libraries & functions took about 21s
- doing 100 plot iterations took about 284 seconds
- total of 305 seconds.