* Re: graphics size
2012-06-21 14:37 graphics size Neuwirth Erich
@ 2012-06-21 15:49 ` Thomas S. Dye
0 siblings, 0 replies; 2+ messages in thread
From: Thomas S. Dye @ 2012-06-21 15:49 UTC (permalink / raw)
To: Neuwirth Erich; +Cc: emacs-orgmode
Neuwirth Erich <erich.neuwirth@univie.ac.at> writes:
> In org-mode for R I am using something like
>
> :results output graphics :file first.png :exports both
>
> and in the block then here is a plot command.
>
> How can I control the dimensions of first.png?
Please see
http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html#sec-3-1
In particular, :height, :width, :units, and :res
All the best,
Tom
>
>
> <span class="Apple-style-span" style="color: rgb(17, 0, 0); ">In org-mode for R I am using something like<table style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 13px; vertical-align: baseline; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-color: rgb(249, 249, 249); border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; width: 615px; position: static; z-index: auto; "><tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 13px; vertical-align: baseline; "><tr id="p71" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 13px; vertical-align: baseline; "><td class="code" id="p7code1" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-style: initial; border-color: initial; font-size: 13px; vertical-align: top; background-color: rgb(249, 249, 249); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); ">:results output graphics :file first.png :exports both</td></tr></tbody></table></span>and in the block then here is a plot command.How can I control the dimensions of first.png?
--
Thomas S. Dye
http://www.tsdye.com
^ permalink raw reply [flat|nested] 2+ messages in thread