I've plotted some GPS tracks and heading vectors using Octave.
I'd like to overlay the plot on a satellite image, but when I save the plot it has a white background. Is there a way to save it with a transparent background?
I think using print with the "pngalpha" device does what you want, e.g.:
print(gcf,'-dpngalpha', 'myplot.png');
This is poorly documented unfortunately. I browsed the source code extensively to find a way to hack/patch octave to do this, only to find out this was already possible.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more