problem with a subplot of a hist3 graph that render invisible my other subplot in print function

1 view (last 30 days)
here is my problem:
i have a figure made of 4 subplots: s1=subplot (3,3,[1;4]); s2=subplot(3,3,[2;5]); s3=subplot(3,3,[3;6]); s4=subplot(3,3,8);
s1 contains a x-y movement line on the x-y plane
s2 contains a hist3 graph which is the histogram of the s1 graph
s3 contains a graph of the mouvement direction
and s4 contain just the color bar of s2 and some comments.
now my problem is that when I print the figure (using print -djpeg or -dtiff), the graphic part of the subplot s1 disappear, although the title is still visible.
Is there a way to settle this? I tried playing with the set(gca,'Visible','on') or set(gca,'Layer','top'), but nothing helps.
anyone has an idea?

Answers (0)

Community Treasure Hunt

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

Start Hunting!