CENG301 - Matlab Graphics Assignment in 2003

Objective:

This assignment is for you to apply what you have learnt about Matlab graphics in the class to modifying a Matlab plot in two different ways so it can be used in either a PowerPoint presentation or a research report.

Instructions:

Download (move your mouse to the link and click the right button; then choose ìSave Target Asî) the Matlab figure file Assignment.fig, the PowerPoint file BlankSlide.ppt, and the Word file BlankPage.doc to your local computer.

Launch Matlab. For convenience, you may want to go to the directory that contains the downloaded files.

Type ìfigureî in the Matlab command window to open a blank figure window.

In the blank figure window, open the downloaded Assignment.fig file.

Examine the plot and think about what need to be improved to make it suitable for being used in the blank slide in BlankSlide.ppt. Then modify the original plot according to the following instructions and suggestions:

  • Add xlabel, ylabel and title to the plot:

xlabel: C

ylabel: Rg

title: Monod Kinetics with Different Parameters

Make sure that their fonts will be legible on the slide and that their positions are appropriate.

  • Increase the thickness of the lines as appropriate. You can also change their colors if you think it helps to improve the effect of the plot.
  • Change the limits of the axes so that you can see the value of y for x Œ [0, 10]. Note that the positions of labels may become inappropriate because of this change. If that happens, move the labels accordingly.
  • Insert legend to the plot. In the original plot, the legend is

The cyan line: Rg = 2.0C/(2.0 + C)

The yellow line: Rg = C/(2.0 + C)

The green line: Rg = C/(4.0 + C)

  • Add markers to data points on each line. Choose the appropriate shape and color for the makers.
  • Try adding gridlines to the plot. Remember that the gridlines should be used sparingly. So if they donít look appropriate in the plot, do not use them.

Change the original plot into a black-white report plot (with the same labels, title, axial limits and legend as described above). The plot should be inserted into the text box in the blank page in BlankPage.doc. Note that you may need to use different style for the lines since no colors other than black and white can be used.

Turn in:

By 9:00AM 09/30/2003 (Tuesday), please send the following files as email attachments to Gang Cheng at gang@rice.edu:

A PowerPoint file (stilled named BlankSlide.ppt) that contains the slide with the presentation plot inserted.

A Word file (stilled named BlankPage.doc) that contains the page with the report plot inserted.

Please title your email as ìceng301 matlab graphics assignment ñ your nameî. Thank you.

You are encouraged to discuss with them any questions related to this assignment.