Ch5_7 - 1 Section 5.7 Plotting Data Previous Slide Section...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Next Previous Section 5.7: Plotting Data 11 Section 5.7: Plotting Data
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Next Previous Section 5.7: Plotting Data 22 ‘ro’ means use red circles a second set of data on the same plot ‘b-’ means use a blue connected line grid means to show a grid plotxandy.m is in the Chapter5 Examples folder run clear at the start of an m file to clear the workspace of any old variables Axis sets the scale of the axes [xmin xmax ymin ymax] If you don’t include it, MATLAB does a good job of choosing scales for you. x and y vectors A typical data plotting program title, xlabel and ylabel are the text labels on the graph xdata and ydata vectors plot command
Background image of page 2
Next Previous Section 5.7: Plotting Data 33 "File" allows you to save the graph in various graphic formats, like jpeg etc. "Insert" allows you to add text labels and other drawing objects to the figure Running the program: Creates a figure window
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Next Previous Section 5.7: Plotting Data 44 plotxandy2.m is in the Chapter5 Examples folder Multiple figures: the figure(#) command
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 11

Ch5_7 - 1 Section 5.7 Plotting Data Previous Slide Section...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online