Small changes to make plotting functions more compatible with recent maxima.
Fix pen styles.