Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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 .

Antworten (0)

Kategorien

Mehr zu Graphics Object Properties finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by