Matlab 2014b scaling, print, border
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everybody,
i have a problem where I need help. I have an easy example. I want to create a DIN A4 with a borderline. The problem ist, that when printing the figure, the scaling is not correct. Here is the code
handles.fig = figure(...
'PaperType','a4letter',...
'Units','centimeters',...
'PaperOrientation','Portrait',...
'PaperUnits','centimeters', ...
'Position',[0.63 0.63 19.72 28.41],...
'PaperPosition',[0.63 0.63 19.72 28.41],...
'PaperSize',[20.98 29.68],...
'Visible','off');
handles.frame.axes1 = axes('parent',handles.fig,'Units','centimeters','Position',[0.3 0.3 19 24],'Visible','off',...
'XTickLabel',{},'YTickLabel',{},'XTick',[],'YTick',[],'Box','on');
Printing is done with
print(handles.fig,'-dpdf','test.pdf')
Can anyone help me what I am doing wrong? Thank you!
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!