Friday, October 14, 2005

more color in figures (Matlab plot)

usually we use: figure; plot(cx1, cy1, 'r*');
Now:

h= plot(cx1, cy1, '*');
set(h, 'color', [1,0,.5])

[rand(), rand(), rand()] can be used for color.

No comments:

Post a Comment