Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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 ]
dpb

Posts: 8,289
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(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?

--



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.