for doing cross validation you can add this arguement (cross=10) to your function as one way:
Of course you can have k-fold cross validation. So you would have cross=k.
for plotting: you need plot.svm() method. The following file could help you more: