1 / 7

Ma 375 - Communicating Mathematics Carl Eberhart and Paul Eakin

Ma 375 - Communicating Mathematics Carl Eberhart and Paul Eakin. Class 4 -- Getting Graphics. 5 ways to make pictures in LaTeX. Use LaTeX picture commands Use MS Paint to draw b&w .bmp files Use Maple to generate color .eps files Use Paint Shop Pro to draw color .eps files

rdaugherty
Download Presentation

Ma 375 - Communicating Mathematics Carl Eberhart and Paul Eakin

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ma 375 - Communicating MathematicsCarl Eberhart and Paul Eakin Class 4 -- Getting Graphics

  2. 5 ways to make pictures in LaTeX • Use LaTeX picture commands • Use MS Paint to draw b&w .bmp files • Use Maple to generate color .eps files • Use Paint Shop Pro to draw color .eps files • Use commands from the PSTricks package

  3. LaTeX picture commands Here is a sample picture drawn with picture commands in LaTeX. setlength{\unitlength}{.5in} \begin{picture}(7,4) \put(0,0){\vector(1,5){3} \put(2,2){$\sqrt{2}$} \end{picture}

  4. MS Paint • Launch the Paint from Accessories • Set the size to something like 4 by 2.4 inches • Make a drawing • Save as monochrome bmp (say pic.bmp) in the right directory • include graphicx in your list of packages • put \includegraphics[height=4in,width=2.4in]{pic.bmp} in your tex file

  5. Maple To graph sin(x) and x^3: • Launch Maple (release 4 or 5) • Then in a worksheet issue these commands plotsetup(ps,plotoutput=`pic.eps`,plotoptions=`color`); plot({sin(x),x^3},x=-Pi..Pi); • get the file pic.eps into the right directory • proceed as above with MS Paint

  6. The PSTricks Package • Think of this as a huge extension of the picture environment. Among other things you can write along a curve with Pstricks. • The style files and documentation are freely available from the TeX archives

  7. Paint Shop Pro • Think of this as a better paint program • Its main advantage over paint is that you can save in the color eps format • It is inexpensive but high quality shareware

More Related