필터 지우기
필터 지우기

How can I change the size of my figure or the title position so that the title does not overlap my figure anymore?

조회 수: 2 (최근 30일)
Hello,
I am trying to reduce the size of my figure or to upper the position of my title so that the title doesn't overlap the figure.
(Please see attached figure)
But whenever I try to change the figure or the title position nothing changes on my figure, what am I doing wrong??
I tried both % command below both is doesn't change anything on my figure...
figure(3);
hold on;
%figure('Position',[0.1 0.1 0.4 0.4]);
w=worldmap([20 90],[-180 180]);
p=findobj(w,'Tag','Parallel');
m=findobj(w,'Tag','Meridian');
p.LineWidth=1.5;
m.LineWidth=1.5;
pcolorm(latMat,lonMat,a1);
colormap jet;
cb=colorbar;
set(cb, 'Position',[0.75 0.15 0.03 0.78]);
geoshow('landareas.shp','FaceColor',"none",'LineWidth',1);
title('Task 1.7: PC1');
%set(get(gca,'title'),'Position',[1 1 1]);
hold off;
Thanks

답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by