Headless on
Windows
On the PC, you can set the location of plots and tables off-screen so that they are not
visible to the user, create the .png or .jpg file, and then close the plot or
table. For example:
plot = Plot.newPlot()
plot.setSize(600, 500)
plot.setLocation(-10000, -10000)
…
plot.showPlot()
…
plot.saveToPng("C:/temp/myPlot.png")
plot.close()