There is no color code for orange. You will have to code it as an RGB
triple.
Thanks for the comment - this has been bugging me too but never quite enough to read through the plotting help files.
So a quick modification of the help example gives orange circles with a black boundary:
plot(somevector,'-ko',...
'LineWidth',1,...
'MarkerEdgeColor','k',...
'MarkerFaceColor',[1 .5 0],...
'MarkerSize',8)
I have tried doing this, but when plotting points, it wont' let me do this. For example, if i try to do the command plot(x,y,'b.') that will plot points in blue. But if i do plot(x,y,'[.5 .5 .5].') it will not work that way. How would i code it in RGB correctly?
One thing I did, which you may find useful, is to define color functions. For example, orange.m:
function [C] = orange()
C = [1 .5 0];
Now at the command line:
plot(x,y,'color',orange)
One could define as many such functions as needed.