Info
This question is closed. Reopen it to edit or answer.
i plotted a double axis graph, but i don't need the second plot,only the axis. can you correct it..?
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!