Prev: Subscript indices must either be real positive integers or logicals error in simple array program
Next: Plotting in the background
From: Oliver Woodford on 25 May 2010 11:13 "TC Christensen" wrote: > Hello, > > I am writing in the hope that someone in the Matlab-community might be able to help me with the following issue: > I am using the surf-plot command to plot a three dimensional plot, and I then rotate the plot via view(2), such that it is view from the top down. Since I am using labels with the ('Interpreter','LaTeX')-option I would like to save the figure as a .pdf figure rendered with 'painters'. Specifically, I currently use the package 'export_fig', to save the figure. > However, the saved image becomes very large, around 1½ mb, and loads very slowly. I've tried using the renderer-options 'openGL' and 'zBuffer' aswell: They produce nice results, with nice plots and small datasize - but the fontsize of the labels are sadly somewhat messed (and I really need the fontsize to be consistent). > > Any advice? Is there any way that I can continue to save the image as a .pdf and still use the 'painters'-renderer - or should I take an entirely different path? For instance, is there another a better alternative than 'surf', for plotting a color-plot of a certain value across x and y? > > Thank you in advance. Best regards, > Thomas Hi again export_fig is now updated. Download the new version and try export_fig test.png -painters This should produce a good looking bitmap. Then convert this to pdf outside matlab. Oliver |