And this might be intuitively obvious, but if you want to ONLY display posts from a certain category, the line above should look like this:
$rawposts = get_posts( 'numberposts=-1&category=YOURIDHERE' );
Note the difference between the two lines is a ‘-‘ symbol before the category ID.