Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Controlling actual print graphics size....
Replies: 1   Last Post: Feb 20, 2014 4:23 PM

 Messages: [ Previous | Next ]
 dpb Posts: 9,850 Registered: 6/7/07
Controlling actual print graphics size....
Posted: Feb 20, 2014 10:55 AM

I've been trying to make a pattern for a stencil to redo markings for
heat ranges on the old welder. They're spread over a distance of
somewhat less than the 10" length of the overall silkscreen area which
seemed like ought to be able to get onto an 11" page w/ the half-inch
hard margins at bottom/top.

I tried

% set axes location to fill figure area vertically
axes; rect=get(gca,'position'); rect(2)=0; rect(4)=1;
set(gca,'position',rect)

set(gcf,'color','w'), set(gca,'visible','off')
hlin=line([zeros(size(lo_meas'))+.27,zeros(size(lo_meas'))+.35]', ...
[lo_meas' lo_meas']','color','k','linewidth',4);
h_txt=text(zeros(size(lo_meas'))+.375,lo_meas',num2str(lo_amp'), ...
'fontweight','bold','fontsize',18);

This makes a nice-looking figure on screen. To print, I then used the
Export Setup menu, set the figure size in inches to a vertical height of
10" and checked the "Expand axes to figure" button and did a test print.
It comes out with the vertical axis about 8-3/8" instead of 10" and
centered on the page vertically (leaving roughly 1-1/4" top/bottom).
I've had no luck managing to change that result.

Anybody have a klew how to convince Matlab to print 10" tall figure
actually 10" tall?

--

Date Subject Author
2/20/14 dpb
2/20/14 dpb