{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Week 9 (Graphing).pdf - Week 9(Graphing Monday 3:07 PM...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
sum prod max min mean Operations on numeric vectors: any (return "TRUE" if any elements are TRUE) all (return "TRUE" if all elements are TRUE) Operations on logical vectors that produce one logical vector: Can make an empty plot p - points l - lines b - points and lines c - lines with spaces at points type col =black xaxt set to n to get rid of x axis numbers yaxt set to n to get rid of y axis numbers xlab x-axis label ylab y-axis label xlim=(num1,num2) horiz range for plot ylim= ^^^ asp aspect ratio (1 ensures one x unit is same size as 1 y unit) Arguments: Plot(vecX,vecY) or just y, with x being 1,2,3,…,n Two vectors, respectively x and y coordinates
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}