Prev: optical fourier transformation
Next: Data Extraction
From: Dean on 5 Aug 2010 09:35 Hi guys, I am looking for a simple code to do the following: 1. Press File -> Export Setup 2. Load settings from (a style file) 3. Load, Apply to Figure 3. File -> Save as 4. Choose a director and a name for the file as "fig" format 5. Save, then File -> Save as 6. Save into the same director and file name but with "emf" format. I started with some code like below, but hgexport do not support "fig". It gives me error message: ??? Error using ==> hgexport at 857 Error using ==> print at 325 Illegal device option, '-dfig', specified. Anyway, there are still other bits I hope you guys can help me. For example, how to load setting from a selection of styles I saved in Step 2. How to prompt a window let me to choose a directory in matlab (Step 4). ---------------------------------------------------------- fname = input('filename: ', 's'); snam = 'LineEPScolor'; % my style file name s = hgexport('readstyle',snam); s.Format = 'fig'; hgexport(gcf,fname,s); Thank you all, Dean
|
Pages: 1 Prev: optical fourier transformation Next: Data Extraction |