1 / 13

Lesson 7: Advanced Plotting Functions

Lesson 7: Advanced Plotting Functions. The Plots keep on coming!. What's on the menu for Today. Scatter Plots 3D Plots Double Y Plots Bar Plots Adding Errorbars Exporting High Quality Figures. A Simple Scatter Plot. Scatter(<x data>,<y data>,<dot size>). A Complicated Scatter Plot.

urban
Download Presentation

Lesson 7: Advanced Plotting Functions

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. Lesson 7: Advanced Plotting Functions The Plots keep on coming!

  2. What's on the menu for Today Scatter Plots 3D Plots Double Y Plots Bar Plots Adding Errorbars Exporting High Quality Figures

  3. A Simple Scatter Plot Scatter(<x data>,<y data>,<dot size>)

  4. A Complicated Scatter Plot  Scatter(<x data>,<y data>,<dot size>,<dot colour>)

  5. 3DLine Plotting plot3(<xdata>,<ydata>,<zdata>)

  6. Double Y Plot plotyy(X1,Y1,X2,Y2)

  7. Vertical Bar Plot bar(<data>)

  8. Horizontal Bar Plot barh(<data>)

  9. Bar Plus Simple Error Bars errorbar(<Y points>,<Error Bar Length>)

  10. Bar Graph Plus Error Bars errorbar(<X points>,<Y points>,<lower Error Bars>,<upper Error Bars>)

  11. Publication Quality Plots

  12. Exporting Figures to Files - print print -options filename Useful Options -deps --> Black and White EPS -depsc --> Color EPS -dpdf --> Color PDF -dtiff --> TIFF  -fhandle --> Specify a particular figure handle to print -noui --> Suppres printing of user interface controls -rnumber -->  Replace number with desired image                                    resolution (200 or 300 for publication)

  13. Example Uses of Print print -r200 -deps averages.eps --> Prints the currently active figure to averages.eps as a 200 dpi black and white eps file.

More Related