Contourf not producing vector files

Hello, I made a contourf plot, but for some reason when I save my figure as an .svg, .pdf or .eps file, the result is not scalable; yet the output files are over 4 MB. My guess is that it has something to do with how complex the data in the plot are, because I had produced contourf .svg files before with no problem. My code is below along with an example of what I'm getting and what I had gotten in the past (both using contourf, although the image on the right had a plot() command too).
figure(2)
contourf(tiempo(inicio:fin), alturas, velEst(inicio:fin, 1:56)', 30, 'LineStyle','none');
%set(h, 'EdgeColor','none')
xlabel('Fecha (2006)'); ylabel('Profundidad');
caxis([-15 15]); datetick('x');

1 Kommentar

Chad Greene
Chad Greene am 18 Mär. 2017
Can you provide some sample data so we can replicate the problem?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Contour Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 17 Mär. 2017

Kommentiert:

am 18 Mär. 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by