Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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 .

Risposte (0)

Categorie

Scopri di più su Graphics Object Properties in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by