Hai,
I want to know the different markers available, to indicate the points on different lines, in the graph I have drawn. Looking for your reply.
BSD

댓글 수: 1

if true
--------------------------------------------------- code start
This is an example for your case
Input is "Input_Data", two dimension matrix
Marker_Counter=1;
figure6=figure;
Markers = {'+','o','*','x','v','d','^','s','>','<'};
for i=1:10:size(Input_Data,1)
TPR=Input_Data(i:i+9,7);
FPR=Input_Data(i:i+9,8);
plot(FPR,TPR,strcat('-',Markers{Marker_Counter}));
Marker_Counter=Marker_Counter+1;
hold on
end
plot([0.5 1],[0.5 1],'--');
legend('Minpts = 100','Minpts = 200','Minpts = 300','Minpts = 400','Minpts = 500','Minpts = 600','Minpts = 700','Minpts = 800','Minpts = 900','Minpts = 1000','','Location','SouthEast');
xlabel('FPR or (1-Specificity)','FontSize',12,'FontWeight','bold'); ylabel('TPR or Spensitivity)','FontSize',12,'FontWeight','bold');
title('ROC Space');
close(gcf);
-------------------------------------------- code end
end
--------------------------------------- picture link preview

댓글을 달려면 로그인하십시오.

 채택된 답변

Walter Roberson
Walter Roberson 2011년 11월 14일
편집: Walter Roberson 2024년 12월 12일

9 개 추천

'+' Plus sign
'o' Circle
'*' Asterisk
'.' Point
'x' Cross
'square' or 's' Square
'diamond' or 'd' Diamond
'^' Upward-pointing triangle
'v' Downward-pointing triangle
'>' Right-pointing triangle
'<' Left-pointing triangle
'pentagram' or 'p' Five-pointed star (pentagram)
'hexagram' or 'h''' Six-pointed star (hexagram)
'none' No marker (default)

댓글 수: 1

Walter Roberson
Walter Roberson 2011년 11월 14일
A common question is whether this list of named markers can be expanded with user-defined markers. The answer to that is NO: user-defined markers must be drawn or image'd in to existence in each required location.

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Laura Proctor
Laura Proctor 2011년 11월 14일

0 개 추천

linespec shows the available marker styles.
asutosh acharya
asutosh acharya 2020년 7월 30일

0 개 추천

Open Triangle Symbol

댓글 수: 1

Walter Roberson
Walter Roberson 2020년 7월 30일
Open triangles are not available as built-in markers.

댓글을 달려면 로그인하십시오.

카테고리

태그

질문:

bsd
2011년 11월 14일

편집:

2024년 12월 12일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by