Creating Line plot with matlab
이전 댓글 표시
Hi I would be glad if someone can help me to create a line plot for the table below. AgentID Strategy Abilities Score Agent 1 NaiveC 159 980 Agent 6 NaiveD 159 980 Agent 4 NaiveC 157 970 Agent 5 NaiveC 157 970 Agent 9 NaiveD 157 970 Agent 10NaiveD 157 970 Agent 3 NaiveC 156 965 Agent 8 NaiveD 156 965 Agent 2 NaiveC 143 900 Agent 7 NaiveD 143 900
I will like abilities on the x-axis, score on the y-axis and two plots grouped by Strategy representing NaiveC and NaiveD.
Thanks for the help
답변 (1개)
KSSV
2018년 6월 13일
x = 1:10 ;
y = 1:10 ;
[X,Y] = meshgrid(x,y) ;
plot(X,Y,'k')
hold on
plot(X',Y','k')
카테고리
도움말 센터 및 File Exchange에서 Semiconductors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!