Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

i plotted a double axis graph, but i don't need the second plot,only the axis. can you correct it..?

조회 수: 2 (최근 30일)
x1=prof_N(:,1);
y1=prof_1(:,2);
x2=prof_1(:,1);
y2=prof_1(:,2);
hl1 = line(x1,y1,'Color','r');
ax1 = gca;
set(ax1,'XColor','r','YColor','r')
x2 = axes('Position',get(ax1,'Position'),...
'XAxisLocation','top',...
'YAxisLocation','right',...
'Color','none',...
'XColor','k','YColor','k');
hl2 = line(x2,y2,'Color','k','Parent',ax2);
i need the axis distance,depth,age and a single plot

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by