Rank: 14400 based on downloads (last 30 days) and 0 files submitted
photo

wei feng

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by wei View all
Updated File Comments Rating
28 May 2009 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

Great work! You sir saved me a LOT of time.

I've been using your print_eps function for a while and found this today. However, I have a problem with converting images to eps format that has been bugging me. For example, I have two images in a matlab figure. On both images I have used the "plot" function to plot some lines on the images. The plotted lines are gray in color. When I export them into eps format, the lines on the first image would remain gray. But the lines on the second image would change to black. The same thing happens when I have more than two images with plotted lines, in which case all the plotted lines except in the first image will turn black. I was wondering if you can shed some light on this?

Thanks a lot.

14 Jan 2009 print_eps Save figures to high quality eps files with cropped borders and embedded fonts. Author: Oliver Woodford

You may want to change line 69 to:
name = ['"', cd, filesep, name, '"']; % Add the path to the current directory
this way windows directories with spaces in them will work (such as c:\documents and settings\...

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com