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 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!