Skip to content

Instantly share code, notes, and snippets.

@denkiwakame
Created February 6, 2015 10:52
Show Gist options
  • Save denkiwakame/02d19a36d46e51d36e84 to your computer and use it in GitHub Desktop.
Save denkiwakame/02d19a36d46e51d36e84 to your computer and use it in GitHub Desktop.
適当
linestyles = cellstr(char('-',':','-.','--','-',':','-.','--','-',':','-',':',...
'-.','--','-',':','-.','--','-',':','-.'));
MarkerEdgeColors=jet(n); % n is the number of different items you have
Markers=['o','x','+','*','s','d','v','^','<','>','p','h','.',...
'+','*','o','x','^','<','h','.','>','p','s','d','v',...
'o','x','+','*','s','d','v','^','<','>','p','h','.'];
% [...]
figure
hold on
for i=1:n
plot(X(i,:), Y(i,:),[linestyles{i} Markers(i)],'Color',MarkerEdgeColors(i,:));
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment