This page explains it for you http://www.statmethods.net/advgraphs/trellis.html
You basically want to alter the equation for the graphs. They should be more like
csalary ~ bsalary|gender
should break the graphs apart based on different values of gender. There is a bunch of control language for continuous conditional variables.