Border disappear when I use 'print' to save a plot
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I am using the following code to create 4 subplots:
labels={'reliability','resilience','vulnerability','watershed health'};
xlims=[0.35 0.6;0.30 0.6;0.52 0.60;0.35 0.60];
box('on');
box.linewidth=2;
for i=1:4
subplot(2,2,i)
histf(final_data_wse(:,i),'FaceAlpha',0.6);
w=datasample(final_data_se(:,i),10000,'replace',false);
hold on
histf(w,'FaceAlpha',0.3);
set(gca,'fontsize',18,'fontname','arial',...
'xlim',[xlims(i,1) xlims(i,2)],'Ytick',[],box)
xlabel(labels{i},'fontsize',20,'fontname','arial');
% ylabel('count','fontsize',12,'fontname','arial')
end
When I use 'print' function to save a MATLAB plot, the right borders disapper from each subplot, as shown in the attachment.
Please let me what is the fix to this problem.
Note: I have dowloaded 'histf' function from MATLAB CENTRAL.
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Subplots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!