Borrar filtros
Borrar filtros

Matlab 2014b scaling, print, border

1 visualización (últimos 30 días)
octus_ma
octus_ma el 10 de Oct. de 2018
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!

Respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by