lecture_12

# lecture_12 - Lecture 12 Comp 116 Feb 13th 2009 Till now...

This preview shows pages 1–8. Sign up to view the full content.

Click to edit Master subtitle style 10/6/09 Lecture 12 Comp 116 Feb 13th , 2009

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

View Full Document
10/6/09 Till now … constants, variables, data types number systems expressions vectors, matrices strings logical expressions conditional statements, loop statements plotting
10/6/09 Questions related to previous topics Quizzes and assignments … Quiz 2 solution

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

View Full Document
10/6/09 Plotting plot(x,y) plots y against x plot(x1,y1, x2,y2) plots y1 against x1, y2 against x2 on same axis hold on multiple plots plot(x1, y1); hold on; plot(x2, y2); hold off;
10/6/09 Plotting plot(x, y, ‘ color ’, [1 0 0]); Plot using red color Also plot(x,y, ‘r’) h = plot(…) h plot handle - can use to set properties set(h, ‘PropertyName’, PropertyValue )

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

View Full Document
10/6/09 Multiple plots in a figure? subplot reading? subplot(m,n,p) creates a figure with mxn plots and selects the pth plot.
10/6/09 BullsEye example Two variables at the

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 03/22/2009 for the course COMP 116 taught by Professor Stotts during the Spring '08 term at UNC.

### Page1 / 20

lecture_12 - Lecture 12 Comp 116 Feb 13th 2009 Till now...

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

View Full Document
Ask a homework question - tutors are online