write results as pdf files by use of Matlab

一些参数:
orient
Hardcopy paper orientation
Alternatives
Use File —> Print Preview on the figure window menu to directly manipulate print layout, paper size, headers, fonts and other properties when printing figures. For details, see Using Print Preview in the MATLAB Graphics documentation.
Syntax

orient 
orient landscape
orient portrait
orient tall
orient(fig_handle), orient(simulink_model)
orient(fig_handle,orientation), orient(simulink_model,orientation)

Description
orient returns a string with the current paper orientation: portrait, landscape, or tall.
orient landscape sets the paper orientation of the current figure to full-page landscape, orienting the longest page dimension horizontally. The figure is centered on the page and scaled to fit the page with a 0.25 inch border.
orient portrait sets the paper orientation of the current figure to portrait, orienting the longest page dimension vertically. The portrait option returns the page orientation to the MATLAB default. (Note that the result of using the portrait option is affected by changes you make to figure properties. See the “Algorithm” section for more specific information.)
orient tall maps the current figure to the entire page in portrait orientation, leaving a 0.25 inch border.
orient(fig_handle), orient(simulink_model) returns the current orientation of the specified figure or Simulink model.
orient(fig_handle,orientation), orient(simulink_model,orientation) sets the orientation for the specified figure or Simulink model to the specified orientation (landscape, portrait, or tall).

print, printopt
Print figure or save to file and configure printer defaults
Syntax

print
print('argument1','argument2',...)
print(handle,'filename')
print argument1 argument2 ... argumentn
[pcmd,dev] = printopt

我们就采用print(handle,’filename’)来实现pdf文件的输出,话说可以生成各种各样文件格式:
PDF Color PDF file format Vector -dpdf Ghostscript

详参:

>> doc print
figure;
text(.5, .5,'hello, i''m qwe');
axis off;
orient tall;
print(gcf,'-r300','-dpdf','a.pdf');
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

生活在西班牙

自己动手丰衣足食

BlueAsteroid

Just another WordPress.com site

Jing's Blog

Just another WordPress.com site

Start from here......

我的心情魔方

天才遠私廚

希望能做一個分享各種資訊的好地方

语义噪声

西瓜大丸子汤的博客

笑对人生,傲立寰宇

Just another WordPress.com site

Where On Earth Is Waldo?

A Project By Melanie Coles

the Serious Computer Vision Blog

A blog about computer vision and serious stuff

Cauthy's Blog

paper review...

Cornell Computer Vision Seminar Blog

Blog for CS 7670 - Special Topics in Computer Vision

datarazzi

Life through nerd-colored glasses

Luciana Haill

Brainwaves Augmenting Consciousness

槑烎

1,2,∞

Dr Paul Tennent

and the university of nottingham

turn off the lights, please

A bunch of random, thinned and stateless thoughts around the Web

%d bloggers like this: