I have a 3D isosurface in matlab that I need to attach to a LaTeX file and im saving it with -depsc
. To my knowledge, I can either save it with -painters
, which produces a pure vector file or -opengl
which rasters the whole figure. My problem is the vector file is too large (~100MB), but I need the axes and fonts to be vectorial so I can replace them in LaTeX via psfrag. Is there a way in MATLAB to raster the 3D objects but keep the axis and fonts as vector graphics?
Thanks in advance,