フィルターのクリア

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 Center および File ExchangeGraphics Object Properties についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by