Info
この質問は閉じられています。 編集または回答するには再度開いてください。
superimpose two or more plots
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, i am able to impose two plots at the moment using the code bellow however when I remove the axis for the second plot the second plot line matches the axes of the first plot. Is there a way to keep the second h=plot(hover,x,y) the way it is onto the first plot after removing the axes?
i've tried hold on, axis([Pmin Pmax -inf inf]) but nothing worked. any ideas? thank you
plot(handles.Axes1,SomeX,SomeY)
h_ax(1) = axes('parent',hObject,...
'position',[xpos+.009, cpos(2), cpos(3) *.00066, cpos(4)],...
'Tag','Top', 'NextPlot', 'add');
hplt = plot(h_ax,x,y);
hover = axes('parent',hObject,...
'position',[cpos(1), cpos(2) cpos(3) cpos(4)],'Layer','top',...
'box','off','selected','off','visible','off','Xgrid','off',...
'Ygrid','off');
h=plot(hover,x,y);
set(h,'Color',ycolor);
axis(hover,'off','tight')
0 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!