Page 37 - MATLAB Recipes for Earth Sciences
P. 37

28                                            2 Introduction to MATLAB

            jects in a graph, however, are selected by double-clicking on the specifi c
            component, which opens the Property Editor. The Property Editor allows to
            make changes to many properties of the graph such as axes, lines, patches
            and text objects. After having made all necessary changes to the graph, the
            corresponding commands can even be exported by selecting Generate M-
            File from the File menu of the Figure Window.
               Although the software now provides enormous editing facilities for
            graphs, the more reasonable way to modify a graph for presentations or pub-

            lications is to export the figure, import it into a software such as CorelDraw
            or Adobe Illustrator. MATLAB graphs are exported by selecting the com-
            mand Save as from the File menu or by using the command print. This
            function allows to export the graph either as raster image (e.g., JPEG) or

            vector file (e.g., EPS or PDF) into the working directory (Chapter 8). In
            practice, the user should check the various combinations of export fi le for-
            mat and the graphics software used for final editing the graphs.




            Recommended Reading


            Davis TA, Sigmon K (2004) The MATLAB Primer, Seventh Edition. Chapman & Hall/CRC
            Etter DM, Kuncicky DC, Moore H (2004) Introduction to MATLAB 7. Prentice Hall
            Gilat A (2004) MATLAB: An Introduction with Applications. John Wiley & Sons
            Hanselman DC, Littlefield BL (2004) Mastering MATLAB 7. Prentice Hall

            Palm WJ (2004) Introduction to MATLAB 7 for Engineers. McGraw-Hill
            The Mathworks (2005) MATLAB - The Language of Technical Computing – Getting Started
               with MATLAB Version 7. The MathWorks, Natick, MA
   32   33   34   35   36   37   38   39   40   41   42