The Math Forum

Search All of the Math Forum:

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

Math Forum » Discussions » Software » comp.soft-sys.matlab

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 9,850
Registered: 6/7/07
Controlling actual print graphics size....
Posted: Feb 20, 2014 10:55 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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(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'), ...

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?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.