필터 지우기
필터 지우기

How to make the Y axis line visible when using two axes one for displaying image and the other for plotting?

조회 수: 1 (최근 30일)
I am using two axes as follows:
handles.axes2=axes('Units','pixels','Position',[58,311,665,191],'ycolor',[.4 .4 .4],'xcolor',[.4 .4 .4],'Color',[ 0.97647 0.89412 0.93333]);
axes('Units','pixels','Position',[60,537,175,22]);
[im, map, alpha] = imread('timer3.png');
f = imshow(im);
set(f, 'AlphaData', alpha);
axis off
axis image
PROBLEM:
The Y axis line (not the Y ticks) becomes invisible in the handles.axes2 plot. I have tried everything including reordering the visual stacking but I got nowhere. Any help would be much appreciated. Thanks .

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by